Ilya Priven

Results 164 comments of Ilya Priven

Agree, we could've documented it better: https://pynamodb.readthedocs.io/en/latest/quickstart.html#counting-items > Alternatively, you can retrieve the table item count by calling the count method without filters: should mention that we're relying on the...

In the DynamoDB tables we have, there are often billions of rows, so a full scan only makes sense as one-off maintenance operation. Many tables are smaller, but still the...

> Tried this out with the DynamoDB cli to get expected behavior and the response does match DynamoDB's behavior: if max-items is set to 1 and there are 10 matching...

I agree with your assessment on what's more intuitive :) The one question is how you'd implement that. - When counting for a hash key (w/o a filter expression), the...

That's a great question. Perhaps we can add a `try: bool = False` parameter that'll cause the iteration to be over `Union[Model, DeserializationFailure]` where `DeserializationFailure` could include: - `raw_data: Dict[str,...

Yeah, that might work. Make sure you keep some way in your model to indicate that it wasn't initialized.

How could we produce a CF definition when PynamoDB has only a subset of what goes into a table's definition? I think a useful addition would be a method validating...

I'm questioning the usefulness, since it's a one-time thing: what you're keeping in sync is the table and index names, the key names and their types. All of those are...

Unless we have firm intentions of going off botocore (see #968), I'd see this as a positive change. As you can see in the docs for [Standard retry mode](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/retries.html#standard-retry-mode), botocore...

> though I'd need help to make sure it actually retries, as I'm not sure what's the right way to be doing such testing A unit test wouldn't need to...