Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add GCP firestore components #259

Closed
wants to merge 14 commits into from
Closed

Conversation

adeebdvlpr
Copy link

@adeebdvlpr adeebdvlpr commented Mar 22, 2024

Closes
PrefectHQ/prefect#13051 add gcp firestore

Example

 Creates a collection named "users" in Firestore using a Prefect flow.
    from prefect import Flow
    from prefect_gcp import GcpCredentials
    from prefecr_gcp.firestore import firestore_create_collection

    @Flow()
    def example_firestore_create_collection_flow():
        gcp_credentials = GcpCredentials(
            service_account_file="/path/to/service/account/keyfile.json"
        )
        collection_ref = firestore_create_collection(
            collection="users",
            gcp_credentials=gcp_credentials,
            project="my-project"
        )

    example_firestore_create_collection_flow()

Screenshots

Any relevant screenshots

  • The updated docs page from mkdocs serve.
Fire_store_mkdocs
  • Service integration test results.

intergration_test_result_ScnSht

Checklist

  • References any related issue by including "Closes #" or "Closes ".
    • If no issue exists and your change is not a small fix, please create an issue first.
  • Includes tests or only affects documentation.
  • Passes pre-commit checks.
    • Run pre-commit install && pre-commit run --all locally for formatting and linting.
  • Includes screenshots of documentation updates.
    • Run mkdocs serve view documentation locally.

@adeebdvlpr adeebdvlpr requested a review from a team as a code owner March 22, 2024 17:38
@zzstoatzz zzstoatzz changed the title Prefex-GCP firestore components Add GCP firestore components Apr 24, 2024
@desertaxle
Copy link
Member

Thank you for your willingness to contribute to prefect-gcp! The code for this library has been moved to https://github.com/PrefectHQ/prefect/tree/main/src/integrations/prefect-gcp. Please reopen this PR there if this functionality is still needed!

@desertaxle desertaxle closed this Apr 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants