Skip to content

Improvements to decorator.classmod #44

@timbernat

Description

@timbernat

Variety of planned enhancedments and implementation chages to decorators.classmod, including:

  • add class decorator which makes certain attributes immutable (based on some of the approaches presented here)
  • Reimplement register_subclasses decorator using init_subclass
  • Add mechanism for injecting typehints into register_abstract_class_attrs()
  • Implement combined decorator for register_subclasses() and register_abstract_class_attrs() for the special case where only one such attr must be registered

Metadata

Metadata

Assignees

Labels

InternalChanges how internal components are implemented/interact with minimal effect on APIenhancementNew feature or requestpriority:lowLow-to-no urgency on a fix, issue is minor and pinned for awareness

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions