cliche.sqltypes
— Collection of custom types for SQLAlchemy.¶
-
class
cliche.sqltypes.
EnumType
(enum_class: enum.Enum, **kw)¶ Custom enum type to be used as
enum.Enum`in Python standard library. It inherits :class:`sqlalchemy.types.SchemaType
since it requires schema-level DDL. PostgreSQL ENUM type defined in an Alembic script must be explicitly created/dropped.-
impl
¶ alias of
Enum
-
-
class
cliche.sqltypes.
HashableLocale
(language, territory=None, script=None, variant=None)¶ Hashable Locale