google-cloud-python
google-cloud-python copied to clipboard
Google Cloud Client Library for Python
See feedback from @ohmayr in https://github.com/googleapis/google-cloud-python/pull/14353#discussion_r2331393020 referring to the code block below: ``` I think we can refactor these text replacements into their own functions. This will make unit testing...
See feedback from @ohmayr in https://github.com/googleapis/google-cloud-python/pull/14386#discussion_r2335159106 referring to the code block below: https://github.com/googleapis/google-cloud-python/blob/0308e9d7461cd1591da807d02a068a7bb08e5778/.generator/parse_googleapis_content.py#L18-L73 The name of the bazel build rules are hardcoded in `parse_googleapis_content.py`. An alternate, more robust approach would...
There is a substantial difference in execution time between `pandas_gbq.read_gbq` and `google.cloud.bigquery.job.query.QueryJob.to_dataframe` functions. The reason is `pandas_gbq.read_gbq` calls `rows_iter.to_dataframe` [here](https://github.com/googleapis/python-bigquery-pandas/blob/910a064620f13c8e18183c2dedd52dcf68f8d3ea/pandas_gbq/gbq.py#L535) with `dtypes=conversion_dtypes` which causes converting columns in [RowIterator.to_dataframe](https://github.com/googleapis/python-bigquery/blob/85de1a361d8bbda7ff8a20b34ffd5a0e619a1f38/google/cloud/bigquery/table.py#L2678). `conversion_dtypes` is...
### Determine this is the right repository - [x] I determined this is the correct repository in which to report this bug. ### Summary of the issue **Context** I am...
### Determine this is the right repository - [x] I determined this is the correct repository in which to report this bug. ### Summary of the issue I'm trying to...
### Determine this is the right repository - [x] I determined this is the correct repository in which to report this feature request. ### Summary of the feature request When...
Since May 2024, `google-cloud-public-ca` has been published under https://pypi.org/project/google-cloud-security-publicca/#history We should deprecate `google-cloud-public-ca` and recommend that folks install `google-cloud-security-publicca` instead This was detected using a recently added presubmit in https://github.com/googleapis/google-cloud-python/pull/14441...
The README for proto-only libraries currently contain content which is specific to GAPIC libraries. We should remove the GAPIC specific content
The `to_gbq` function should take a `configuration` argument representing a [BigQuery JobConfiguration REST API resource](https://cloud.google.com/bigquery/docs/reference/rest/v2/Job#JobConfiguration). This would make it consistent with the [`read_gbq`](https://googleapis.dev/python/pandas-gbq/latest/api.html#pandas_gbq.read_gbq) function. **Context** Options for table creation /...
Hello, Recently a [question](https://stackoverflow.com/questions/46344535/how-can-i-send-the-dryrun-parameter-to-pandas-read-gbq-function) featured on SO asking about running a `read_gbq` job with `dryRun` settings defined as `True`. As it turns out, for what I could [check](https://github.com/pydata/pandas-gbq/blob/master/pandas_gbq/gbq.py#L558), currently we...