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

feat(bigquery): add optional project_id parameter to insert_row_into_… #471

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Nasr-Ladib
Copy link

@Nasr-Ladib Nasr-Ladib commented Oct 31, 2023

This PR introduces the ability to specify a GCP project ID when invoking insert_row_into_bigquery and insert_row_into_events_enriched. The addition of this optional project_id keyword argument is backward compatible and won't affect existing function calls.

If the project_id is not specified, the functions will continue to operate as they did before this commit, using the default project ID.

By adding this feature, the library becomes more flexible, allowing users to direct queries and data inserts to specific GCP projects without altering the existing API.

…bigquery and insert_row_into_events_enriched

This commit allows users to specify a GCP project ID when calling insert_row_into_bigquery and *insert_row_into_events_enriched without affecting existing function calls. The project_id is an optional keyword argument, and if not provided, the function will behave as it did prior to this commit, using the default project ID.
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.

1 participant