rics.translation.fetching.types#
Types related to translation fetching.
Functions
dataclass([cls, init, repr, eq, order, ...]) |
Returns the same class as was passed in, with dunder methods added based on the fields defined in the class. |
Classes
|
Instructions passed from an |
Generic(*args, **kwds) |
Abstract base class for generic types. |
|
A source and the IDs to fetch from it. |
- class IdsToFetch(source: SourceType, ids: Optional[Iterable[IdType]])[source]#
Bases:
Generic[SourceType,IdType]A source and the IDs to fetch from it.
- source: SourceType#
Where to fetch from.
- class FetchInstruction(source: SourceType, ids: Optional[Iterable[IdType]], placeholders: Tuple[str, ...], required: Set[str], all_placeholders: bool)[source]#
Bases:
IdsToFetch[SourceType,IdType]Instructions passed from an
AbstractFetcherto an implementation.