trinity.buffer.schema package

Submodules

Module contents

trinity.buffer.schema.create_dynamic_table(algorithm_type: str | None, table_name: str) Any[source]

Create a dynamic table based on the provided algorithm type and table name.

class trinity.buffer.schema.Base(**kwargs: Any)

Bases: object

The base class of the class hierarchy.

When called, it accepts no arguments and returns a new featureless instance that has no instance attributes and cannot be given any.

__init__(**kwargs: Any) None

A simple constructor that allows initialization from kwargs.

Sets attributes on the constructed instance using the names and values in kwargs.

Only keys that are present as attributes of the instance’s class are allowed. These could be, for example, any mapped columns or relationships.

metadata: MetaData = MetaData()
registry: registry = <sqlalchemy.orm.decl_api.registry object>