There is currently no prefex integrations to connect and process data to Google firestore.
Expectation / Proposal
Add to the prefex-gcp integration components to interact with firestore. Tasks to create a collection and document, read collections and documents, update documents, delete documents, and query a collection.
if not project:
raise ValueError("Project ID must be provided.")
firestore_client = gcp_credentials.get_firestore_client(project=project, location=location)
collection_ref = firestore_client.collection(collection)
# Attempt to create the collection (collections in Firestore are created implicitly)
return collection_ref
[ X] I would like to help contribute a pull request to resolve this!
There is currently no prefex integrations to connect and process data to Google firestore.
Expectation / Proposal
Traceback / Example
@task async def firestore_create_collection( collection: str, gcp_credentials: GcpCredentials, project: Optional[str] = None, location: Optional[str] = None, ) -> DocumentReference: logger = get_run_logger() logger.info("Creating collection: %s", collection)