Skip to content

Commit

Permalink
Merge pull request #105 from mabel-dev/branching
Browse files Browse the repository at this point in the history
Branching
  • Loading branch information
joocer authored Jul 30, 2024
2 parents eda7348 + 1ff9c0e commit dd5d866
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tarchia/__version__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
__build__ = 139
__build__ = 140

# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
6 changes: 3 additions & 3 deletions tarchia/interfaces/catalog/gcs_firestore.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ def get_table(self, owner: str, table: str) -> dict:
from google.cloud.firestore_v1.base_query import FieldFilter

documents = self.database.collection(self.collection)
documents = documents.where(
filter=FieldFilter("relation", "==", "table")
.where(FieldFilter("owner", "==", owner))
documents = (
documents.where(filter=FieldFilter("relation", "==", "table"))
.where(filter=FieldFilter("owner", "==", owner))
.where(filter=FieldFilter("name", "==", table))
)
documents = documents.stream()
Expand Down

0 comments on commit dd5d866

Please sign in to comment.