deta-python
deta-python copied to clipboard
deta's official sdk
The Base API doesn't allow you to `put` dictionaries with empty keys (`""`). Currently, the progress on this is the false traceback modified by #76 so it returns `None` instead...
## The Problem The `put` method would raise a KeyError when trying to submit a dictionary. Issue originally brought up in https://github.com/deta/docs/discussions/431. ## The Cause The data dictionary that was...
Cleaned up and formatted the code, also fixed a couple broken tests. Changes: - Changed minimum supported Python version to 3.6 since f-strings and async yield are used - Replaced...
Comments & questions not related to the code of the `deta-python` repo will be deleted.
## What's Changed: - Swap `if/else` branches of `if` expression to remove negation - Replace `if statement` with if the expression - Remove unnecessary else after guard condition a little...
Updated type hints for the functions. **Few things I would like to get confirmed before I make the changes:** [Reference: mypy Standard Duck Types](https://mypy.readthedocs.io/en/stable/cheat_sheet_py3.html#standard-duck-types) 1. Replace `dict` with `typing.Mapping` and...
* Make asyncio_mode auto for pytest * Fix comparisons to None * Upgrade github actions versions * Add python3.10 for PR workflow
**Machine**: Docker container from image: `python:3.10-bullseye` **Deta lbrary version**: `1.1.0` **Description**: Error bellows occurs when I'm trying to upload file to Deta drive: ``` EOF occurred in violation of protocol...