Skip to content

API Reference

The API reference is generated from Ormdantic's Python source with mkdocstrings.

Public API

  • Ormdantic: database registration, table decorators, schema lifecycle, sessions, transactions, and relationship loading.
  • Native Engine: the Rust-backed execution wrapper and transaction context.
  • Session: async unit-of-work helpers.
  • Events: event registration and dispatch.
  • Loaders: relationship loader options.
  • Errors: Ormdantic-specific exceptions.
  • Table: Rust-backed table CRUD facade.
  • ormdantic.column: query expression helper.
  • ormdantic.association_proxy and ormdantic.hybrid_property: descriptor helpers for proxy and computed attributes.
  • Ormdantic.inspect() and Ormdantic.migrations: reflection and migration facades.

ORM Internals

  • Serializer: result payload conversion into Pydantic models.
  • Runtime Internals: schema and hydration helpers used by the Rust-first facade.