dyntastic
dyntastic copied to clipboard
A DynamoDB library on top of Pydantic and boto3.
This adds in generic support so that we can get proper typing errors from pyright.
Assuming I have table following a single-table design principle and composite keys, and records like: ``` # User records { pk: 'User#', sk: 'User', ... } { pk: 'User#', sk:...
would there be an easy way to update attributes based on conditions on the sub attributes? For example if my Dyntastic object looks like so ```python class Foo(Dyntastic): __table_name__ =...
I saw that the README states that `create_table` is only meant for testing, but I'm curious if this is due to it not being ready "for production" or because it's...
While considering leveraging dyntastic for a Litestar based API, I was wondering whether you'd considered enabling async capabilities? I see dyntastic is built on top of boto3, and so perhaps...
Following on from https://github.com/nayaverdier/dyntastic/issues/21#issuecomment-2156202427. I don't really have a clear path to this, but I'd expect something like: ```python Model.update("id", updates..., refresh=False (or true!)) ``` Maybe it needs a new...
Hi team, So I've had a look at the mechanism for querying and I feel as if it's very close to complete. My only question would be to perhaps rework...
I have a model of the following type for a workflow engine Setup permalink - https://github.com/OrcaBus/service-icav2-wes-manager/blob/main/app/interface/icav2_wes_api/models/analysis.py#L29-L141 ``` class Icav2WesAnalysisBase(BaseModel): name: str inputs: Dict[str, Any] ... tags: Dict[str, Any] class Icav2WesAnalysisOrcabusId(BaseModel):...