semsynth.specs

Shared data structures for SemSynth dataset handling.

Functions

dataclass([cls, init, repr, eq, order, ...])

Add dunder methods based on the fields defined in the class.

Classes

Any(*args, **kwargs)

Special type indicating an unconstrained type.

DatasetSpec(provider[, name, id, target, meta])

Container describing how to locate and identify a dataset.

class semsynth.specs.DatasetSpec(provider: str, name: str | None = None, id: int | None = None, target: str | None = None, meta: Any | None = None)

Bases: object

Container describing how to locate and identify a dataset.

id: int | None = None
meta: Any | None = None
name: str | None = None
provider: str
target: str | None = None