Skip to content

Deprecate derived_quantities, traps, exports etc #861

@RemDelaporteMathurin

Description

@RemDelaporteMathurin

Following #697 and other similar PRs we now have classes like DerivedQuantities, Traps etc inheriting from list.

We kept attributes like derived_quantities, traps, exports etc for backwards compatibility but it is time to remove them.

Example:

@property
def derived_quantities(self):
warnings.warn(
"The derived_quantities attribute will be deprecated in a future release, please use festim.DerivedQuantities as a list instead",
DeprecationWarning,
)
return self

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions