pyecs.helpers.Deprecation#
Functions
|
ECS-specific deprecation decorator that includes version information. |
|
Deprecation decorator that only warns for external calls. |
|
Issue a deprecation warning for usage patterns that can't be decorated. |
Classes
|
Protocol for deprecated callable with custom attributes. |
- class pyecs.helpers.Deprecation.DeprecatedCallable(*args, **kwargs)[source]#
Protocol for deprecated callable with custom attributes.
- __init__(*args, **kwargs)#
- pyecs.helpers.Deprecation.deprecated_ecs(reason=None, use_instead=None)[source]#
ECS-specific deprecation decorator that includes version information.
- pyecs.helpers.Deprecation.deprecated_external(reason=None, use_instead=None, allowed_modules=None)[source]#
Deprecation decorator that only warns for external calls.