co3.accessor module

Provides access to an underlying schema through a supported set of operations. Class methods could be general, high-level SQL wrappers, or convenience functions for common schema-specific queries.

class co3.accessor.Accessor[source]

Bases: Generic

Access wrapper class for complex queries and easy integration with Composer tables. Implements high-level access to things like common constrained SELECT queries.

Instance variables:

access_log: time-indexed log of access queries performed

__init__()[source]
log_access(stmt)[source]
abstract raw_select(connection, text)[source]
abstract select(connection, component, *args, **kwargs)[source]