The panko.storage.sqlalchemy.models
Module¶
SQLAlchemy models for Panko data.
-
class
panko.storage.sqlalchemy.models.
Event
(message_id, event_type, generated, raw)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base
-
class
panko.storage.sqlalchemy.models.
EventType
(event_type)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base
Types of event records.
-
class
panko.storage.sqlalchemy.models.
JSONEncodedDict
(*args, **kwargs)[source]¶ Bases:
sqlalchemy.sql.type_api.TypeDecorator
Represents an immutable structure as a json-encoded string.
-
impl
¶ alias of
Text
-
-
class
panko.storage.sqlalchemy.models.
PreciseTimestamp
(*args, **kwargs)[source]¶ Bases:
sqlalchemy.sql.type_api.TypeDecorator
Represents a timestamp precise to the microsecond.
-
impl
¶ alias of
DateTime
-
-
class
panko.storage.sqlalchemy.models.
TraitDatetime
(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base
Event datetime traits.
-
class
panko.storage.sqlalchemy.models.
TraitFloat
(**kwargs)[source]¶ Bases:
sqlalchemy.ext.declarative.api.Base
Event float traits.