Skip to content

HasId

Base classes

Name Children Inherits
Protocol
typing
Base class for protocol classes.

⋔ Inheritance diagram

graph TD
  4122107462["registry.HasId"]
  1073422405["typing.Protocol"]
  3481597255["typing.Generic"]
  2751680898["builtins.object"]
  1073422405 --> 4122107462
  3481597255 --> 1073422405
  2751680898 --> 3481597255

🛈 DocStrings

Bases: Protocol

Source code in src/datacook/engine/registry.py
class HasId(Protocol):
    id: str

:fa-brands-github: Show source on GitHub