Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: make collections call backed by async * fix: failing asyncmock assertion * fix: lint * refactor: move AsyncMock to test helpers * fix: rename transactional function to avoid collision * feat: add async surface to firestore_v1 and firestore modules * feat: add pytest-asyncio to noxfile installs * feat: add transport to top level interface for client * fix: batch_get_documents invocation * fix: list_documents return type * fix: run_query invocation * fix: lint * feat: add async system tests * feat: remove Watch from async interface * rebase: v2-staging * fix: remove unused _transport property change * fix: alpha sort module imports * fix: dedup system test helpers
- Loading branch information
Showing
16 changed files
with
1,077 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import os | ||
import re | ||
from test_utils.system import unique_resource_id | ||
|
||
FIRESTORE_CREDS = os.environ.get("FIRESTORE_APPLICATION_CREDENTIALS") | ||
FIRESTORE_PROJECT = os.environ.get("GCLOUD_PROJECT") | ||
RANDOM_ID_REGEX = re.compile("^[a-zA-Z0-9]{20}$") | ||
MISSING_DOCUMENT = "No document to update: " | ||
DOCUMENT_EXISTS = "Document already exists: " | ||
UNIQUE_RESOURCE_ID = unique_resource_id("-") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.