backend.globaleaks.models.properties

Module Contents

Classes

JSON Stores and retrieves JSON as TEXT.
Enum Stores and retrieves ENUM as INTEGER.
class backend.globaleaks.models.properties.JSON[source]

Bases: sqlalchemy.types.TypeDecorator

Stores and retrieves JSON as TEXT.

impl[source]
process_bind_param(self, value, dialect)[source]
process_result_value(self, value, dialect)[source]
class backend.globaleaks.models.properties.Enum(enumtype, *args, **kwargs)[source]

Bases: sqlalchemy.types.TypeDecorator

Stores and retrieves ENUM as INTEGER.

impl[source]
process_bind_param(self, value, dialect)[source]
process_result_value(self, value, dialect)[source]