panko.storage.sqlalchemy.models
Module¶SQLAlchemy models for Panko data.
panko.storage.sqlalchemy.models.
Event
(message_id, event_type, generated, raw)[source]¶Bases: sqlalchemy.ext.declarative.api.Base
panko.storage.sqlalchemy.models.
EventType
(event_type)[source]¶Bases: sqlalchemy.ext.declarative.api.Base
Types of event records.
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 sqlalchemy.sql.sqltypes.Text
panko.storage.sqlalchemy.models.
PreciseTimestamp
(*args, **kwargs)[source]¶Bases: sqlalchemy.sql.type_api.TypeDecorator
Represents a timestamp precise to the microsecond.
impl
¶alias of sqlalchemy.sql.sqltypes.DateTime
load_dialect_impl
(dialect)[source]¶Return a TypeEngine
object corresponding to a dialect.
This is an end-user override hook that can be used to provide
differing types depending on the given dialect. It is used
by the TypeDecorator
implementation of type_engine()
to help determine what type should ultimately be returned
for a given TypeDecorator
.
By default returns self.impl
.
panko.storage.sqlalchemy.models.
TraitDatetime
(**kwargs)[source]¶Bases: sqlalchemy.ext.declarative.api.Base
Event datetime traits.
panko.storage.sqlalchemy.models.
TraitFloat
(**kwargs)[source]¶Bases: sqlalchemy.ext.declarative.api.Base
Event float traits.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.