# Document The `Document` class is the core building block of coodie. It maps a Pydantic v2 model to a Cassandra / ScyllaDB table. coodie provides both synchronous and asynchronous variants. ## Sync API (`coodie.sync`) ```{eval-rst} .. automodule:: coodie.sync.document :members: :show-inheritance: ``` ## Async API (`coodie.aio`) ```{eval-rst} .. automodule:: coodie.aio.document :members: :show-inheritance: ```