python-mock-firestore icon indicating copy to clipboard operation
python-mock-firestore copied to clipboard

Add async support and format with black

Open anna-hope opened this issue 2 years ago • 1 comments

  • 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

anna-hope avatar Mar 17 '22 21:03 anna-hope

@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!

benvdh-incentro avatar Jun 15 '22 15:06 benvdh-incentro