google-cloud-firestorethat works with the firestore emulator on Windows.
firedantic.operatorswith operators as constants to avoid gotchas with filters like
array_contains. Preferable way to build queries is to
import firedantic.operators as opand then use
op.GTEand so on.
pydanticto ^1.8.2 that fixes CVE-2021-29510
google-cloud-firestoreto 2.1.0 that supports async with firestore emulator. Using an officially released version of
google-cloud-firestorefrom PyPI will also make it possible to get this release of
firedanticuploaded to PyPI.
models.pyno longer exists, so make sure to import
Modeldirectly from firedantic:
from firedantic import Model
google-cloud-firestore. The 2.0.2 version has an issue with running in async mode against the emulator, that has been fixed in the git
master, but not included in any official release yet. Using the latest master (pinned to the commit hash). In case you are using poetry to install
firedantic, please be aware that poetry has an issue with updating from a pypi package to a git commit. The simplest work-around is to after updating
firedantic(and thus also
google-cloud-firestore) delete the virtualenv and then run
pydanticto 1.8.1 and
Model.findto do more complex queries supporting all Firestore operators
truncate_collectionclass method for