-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
annotationsannotations.pyannotations.pydocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request
Description
Need to implement the following functionality for centralized annotating:
...
Send = Callable[str, bool]
User = type(name=str, age=int)
@Is[Send]
def send_via_email(message: str) -> bool:
...
@Is[User]
@obj
class chingzhenmen:
name = "Chingzhenmen"
age = 24
def do_chingzhenmen(self) -> ...:
...
# To avoid:
# send_via_email: Send
# chingzhenmen: UserMetadata
Metadata
Assignees
Labels
annotationsannotations.pyannotations.pydocumentationImprovements or additions to documentationImprovements or additions to documentationenhancementNew feature or requestNew feature or request