THE ORIONIS API
Build with clarity.
Explore the building blocks of an async-first Python framework. Every module, class, and method — connected, searchable, and ready to build with.
class documentation
Bind and read Oracle TIMESTAMP WITH TIME ZONE values in UTC.
The driver binds Python datetimes without their offsets and returns timestamps without timezone metadata.
| Method | _bind |
Attach the UTC offset explicitly to each bound Oracle timestamp. |
| Method | _bind |
Normalize an input instant before the driver discards its offset. |
| Method | _column |
Extract the UTC instant before the driver decodes an Oracle timestamp. |
| Method | _read |
Restore the UTC metadata of a timestamp extracted by Oracle. |
| Class Variable | cache |
Allow SQLAlchemy to cache statements that use this stateless type. |
| Class Variable | impl |
Declare the underlying Oracle timestamp type with timezone support. |
Attach the UTC offset explicitly to each bound Oracle timestamp.
| Parameters | |
bindvalue:sqlalchemy.sql.elements.BindParameter | UTC wall time passed to the timestamp driver variable. |
| Returns | |
sqlalchemy.sql.elements.ColumnElement | Oracle timestamp with its UTC offset and fractional seconds. |
Normalize an input instant before the driver discards its offset.
| Parameters | |
value:datetime.datetime or None | Timestamp to bind. Interpret naive inputs in the application zone. |
_dialect:sqlalchemy.engine.Dialect | Oracle dialect supplied by SQLAlchemy. |
| Returns | |
datetime.datetime or None | UTC wall time, or None for SQL NULL. |
Extract the UTC instant before the driver decodes an Oracle timestamp.
| Parameters | |
column:sqlalchemy.sql.elements.ColumnElement | Zoned timestamp, including values stored with nonzero offsets. |
| Returns | |
sqlalchemy.sql.elements.ColumnElement | UTC timestamp projection with the result processor attached. |
Restore the UTC metadata of a timestamp extracted by Oracle.
| Parameters | |
value:datetime.datetime or None | UTC wall time returned by the driver. |
_dialect:sqlalchemy.engine.Dialect | Oracle dialect supplied by SQLAlchemy. |
| Returns | |
datetime.datetime or None | Aware UTC datetime, or None for SQL NULL. |