python-mock-firestore
python-mock-firestore copied to clipboard
Add async support and format with black
- Closes #55 by adding:
-
AsyncClient
-
AsyncDocumentReference
-
AsyncCollectionReference
-
AsyncQuery
-
AsyncTransaction
-
- Removes deprecation warnings from
Collection.get
and other equivalent methods, since they are apparently no longer deprecated in the official Firestore client - Refactors several methods in sync classes to allow for better code reuse with their async counterparts
- Fixes formatting in several places by using black (closes #63) (I can undo this if @mdowds would really prefer not to use Black)
- Adds async examples to the README
- Updates my name and GitHub profile link in the list of contributors
@mdowds Can this be reviewed, merged, and released to PyPI? It would be great to have Async support in python-mock-firestore...
I have tested Anna's code, and after I fixed a small bug it worked great!