Skip to content

Refactor the sbem.common.NamedObject class to be called NamedComponent for more interpretable isolation from epinterface.interface.BaseObj #6

@szvsw

Description

@szvsw

These classes have names that feel a little too similar and are therefore slightly confusing when discussing in issues. A simple automatic refactor of their names to better scope them to their respective modules would be appropriate in my opinion.

  • BaseEPObject
  • NamedComponent

After renaming the sbem.common.NamedObject class, a pass through the sbem module for all instances of TypeVar and Generic should be performed to update the generic type var names, e.g.

NamedObjectT = TypeVar("NamedObjectT", bound=NamedObject)
should have the generic typevar renamed to something like NamedComponentT

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions