uncountable.core.query.column.EnumColumn¶
- class uncountable.core.query.column.EnumColumn[EnumT: enum.StrEnum, NullableT: NullableColumn | NonNullableColumn](identifier, enum_type, nullable)¶
Used in conjunction with the QueryRow and QueryBuilder classes to fetch structured data from the Uncountable API.
Add Column instances as properties to a subclass of QueryRow to define the data returned by the query.
WARNING: This class is in beta and subject to breaking changes. Always check the SDK changelog for breaking changes before updating your SDK version.
- Parameters:
identifier (ColumnIdentifier)
enum_type (type[EnumT])
nullable (type[NullableT])
- contains(other)¶
- Parameters:
other (str)
- Return type:
- includes(other)¶
- Parameters:
other (EnumT | tuple[EnumT, Ellipsis])
- Return type:
- startswith(other)¶
- Parameters:
other (str)
- Return type:
- identifier: ColumnIdentifier¶
- name: str | None = None¶