PynamoDB icon indicating copy to clipboard operation
PynamoDB copied to clipboard

A pythonic interface to Amazon's DynamoDB

Results 201 PynamoDB issues
Sort by recently updated
recently updated
newest added

## WHY Most of modern ORM or data class library support user custom "Post Initialization Hook" that allow user to run any code after the instance is initialized. By doing...

## The issue I had: I created a model to reflect my db. The hash key was set on an attribute which was named incorrectly. Example below ```python # What...

We currently have an issue that our current API doesn't support the same number of fields that we support within our DynamoDB records. So we have a lot of employees...

bug

Greetings, I have existing DynamoDB tables created through an infrastructure-as-code implementation. I used TableConnection to connect to the existing table and run the lower level command `put_item`. My table is...

Hi All, It is being suggested by DynamoDB Best practices that ["most well designed applications require only one table"](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-general-nosql-design.html). Does anyone has tried to fit all relational entities in one...

Hello, I have an attribute setup with way: ``` class MediaMap(MapAttribute): ct = NumberAttribute(default_for_new=0) items = DynamicMapAttribute(default_for_new=dict) class MediaGroupMap(MapAttribute): docs = MediaMap(default_for_new=dict) files = MediaMap(default_for_new=dict) audios = MediaMap(default_for_new=dict) images =...

bug

Not much of a bug, but stumbled upon it today and wasted a good while. Might be reasonable to consider throwing a warning when UTCDateTimeAttribute is assigned a timezone-naive value.

Given [strict mypy settings](https://github.com/linz/geospatial-data-lake/blob/beb870c3070b97518610324625fbbb0a01e7b494/setup.cfg), in particular `disallow_any_generics`, and a requirement to pass `pylint`, how should I type annotate a MapAttribute? - `details: MapAttribute[str, str] = MapAttribute(null=True)` results in "E1136: Value...

Hello, I have some troubles using PynamoDB's MapAttribute My models looks like this: ``` class UserModel(Model): class Meta: table_name = f'user_info-{settings.stage}' region = 'eu-central-1' id = UnicodeAttribute(hash_key=True) dremio = DremioMap(null=True)...