Custom Types
Shared custom types and global type aliases.
- auraxium.types.CensusData: dict[str, str | int | float | CensusData | list[CensusData]]
Type alias for value types allowed in API requests.
- class auraxium.types.LocaleData(*, de=None, en=None, es=None, fr=None, it=None)
Container for localised strings.
Note that the
trlocale is ignored as it was abandoned by the developers and is generally either missing or unpopulated.- classmethod empty()
Return an empty
LocaleDatainstance.This is mostly provided to easily handle payloads who’s entire localised string field is NULL.