fraudtwin.ShardDescriptor#

class fraudtwin.ShardDescriptor(**data)[source][source]#

Bases: BaseModel

Stable shard identity; it is independent of the worker executing it.

Parameters:
  • shard_index (int)

  • shard_id (str)

  • mapping (str)

model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'frozen': True}#

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].