-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
enhancementNew feature or requestNew feature or requestpythonPull requests that update Python codePull requests that update Python code
Milestone
Description
PluginDefinition and DataDefinition both decorate classes, but require those classes to be aware of their decorators to type on them in their plugin() and data() methods.
Can we do this automatically by having the decorators return a new class which subclasses Plugin and HasData/Data automatically, and types its return value as an intersection?
Blocked by
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestpythonPull requests that update Python codePull requests that update Python code