Skip to content

do not add uid to auto-generated name #198

@sdrave

Description

@sdrave

Right now, if not specified by the user, BasicInterface.name returns

type(self).__name__ + '_' + self.uid

However, I never had a use case where adding the uid was helpful.
On the other hand, adding the uid to the name makes the name depend on global state (the uid depends on the order of object creation and the specific pyMOR run), which already broke caching for me (f5bc852). I would propose to let the auto-generated name simply be the class name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions