Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
121 commits
Select commit Hold shift + click to select a range
3b70891
chore: protect v3.x.x branch (#816)
tswast Jul 27, 2021
3c1be14
fix: no longer raise a warning in `to_dataframe` if `max_results` set…
plamut Jul 27, 2021
fe7a902
feat: Update proto definitions for bigquery/v2 to support new proto f…
gcf-owl-bot[bot] Jul 27, 2021
02bbdae
chore: release 2.23.0 (#819)
release-please[bot] Jul 27, 2021
42b66d3
chore(deps): update dependency google-cloud-bigquery to v2.23.0 (#820)
renovate-bot Jul 28, 2021
d9378af
fix: `insert_rows()` accepts float column values as strings again (#824)
plamut Jul 28, 2021
a505440
chore: release 2.23.1 (#825)
release-please[bot] Jul 28, 2021
c541c69
chore: add second protection rule for v3 branch (#828)
tswast Jul 28, 2021
48e8a35
chore(deps): update dependency google-cloud-bigquery to v2.23.1 (#827)
renovate-bot Jul 28, 2021
d8c25ac
test: retry getting rows after streaming them in `test_insert_rows_fr…
tswast Jul 29, 2021
8149d9e
chore(deps): update dependency pyarrow to v5 (#834)
renovate-bot Jul 29, 2021
b9349ad
chore(deps): update dependency google-cloud-bigquery-storage to v2.6.…
renovate-bot Jul 29, 2021
80e3a61
deps: expand pyarrow pins to support 5.x releases (#833)
plamut Jul 29, 2021
40ef77f
chore: release 2.23.2 (#835)
release-please[bot] Jul 29, 2021
55687b8
chore(deps): update dependency google-auth-oauthlib to v0.4.5 (#839)
renovate-bot Jul 29, 2021
85ce81c
chore(deps): update dependency google-cloud-bigquery to v2.23.2 (#838)
renovate-bot Jul 29, 2021
20df24b
chore(deps): update dependency google-cloud-testutils to v1 (#845)
renovate-bot Aug 3, 2021
7016f69
chore: require CODEOWNER review and up to date branches (#846)
busunkim96 Aug 3, 2021
cf0b0d8
chore: add api-bigquery as a samples owner (#852)
busunkim96 Aug 5, 2021
30770fd
fix: increase default retry deadline to 10 minutes (#859)
tswast Aug 6, 2021
e2cbcaa
process: add yoshi-python to samples CODEOWNERS (#858)
plamut Aug 6, 2021
9694a4d
chore: release 2.23.3 (#860)
release-please[bot] Aug 9, 2021
9c6614f
chore(deps): update dependency google-cloud-bigquery to v2.23.3 (#866)
renovate-bot Aug 9, 2021
7f7b1a8
feat: add support for transaction statistics (#849)
plamut Aug 10, 2021
443b8ab
chore(deps): update dependency google-cloud-bigquery-storage to v2.6.…
renovate-bot Aug 10, 2021
aee814c
chore: fix INSTALL_LIBRARY_FROM_SOURCE in noxfile.py (#869)
gcf-owl-bot[bot] Aug 11, 2021
c1a3d44
feat: make the same `Table*` instances equal to each other (#867)
plamut Aug 11, 2021
93d15e2
feat: support `ScalarQueryParameterType` for `type_` argument in `Sca…
tswast Aug 11, 2021
519d99c
feat: retry failed query jobs in `result()` (#837)
Aug 11, 2021
ad9c802
fix: make unicode characters working well in load_table_from_json (#865)
grimmerk Aug 11, 2021
cf6f0e9
chore: release 2.24.0 (#868)
release-please[bot] Aug 11, 2021
c44d45b
chore(deps): update dependency google-cloud-bigquery to v2.24.0 (#873)
renovate-bot Aug 12, 2021
e3704c3
test: refactor `list_rows` tests and add test for scalars (#829)
tswast Aug 13, 2021
cd21df1
chore: drop mention of Python 2.7 from templates (#877)
gcf-owl-bot[bot] Aug 13, 2021
2cb3563
fix: remove pytz dependency and require pyarrow>=3.0.0 (#875)
busunkim96 Aug 13, 2021
936660b
chore: release 2.24.1 (#879)
release-please[bot] Aug 19, 2021
5c5b4b8
chore(deps): update dependency google-cloud-bigquery to v2.24.1 (#887)
renovate-bot Aug 19, 2021
16f65e6
feat: Support using GeoPandas for GEOGRAPHY columns (#848)
Aug 24, 2021
aa4876e
test: Add test of datetime and time pandas load (#895)
Aug 24, 2021
f319d25
chore: release 2.25.0 (#898)
release-please[bot] Aug 24, 2021
fbbf72c
chore(deps): update dependency numpy to v1.21.2 (#899)
renovate-bot Aug 25, 2021
72a52f0
chore(deps): update dependency google-cloud-core to v2 (#904)
renovate-bot Aug 25, 2021
1cb3e55
fix: use REST API in cell magic when requested (#892)
plamut Aug 25, 2021
b508809
fix: populate default `timeout` and retry after client-side timeout (…
tswast Aug 25, 2021
4fc7c69
chore(deps): update dependency google-cloud-bigquery to v2.25.0 (#907)
renovate-bot Aug 25, 2021
121c2c2
chore(deps): update dependency pandas to v1.3.2 (#900)
renovate-bot Aug 25, 2021
a3a85da
chore: group all renovate PRs together (#911)
tswast Aug 25, 2021
109a536
chore: release 2.25.1 (#912)
release-please[bot] Aug 25, 2021
e2d12b7
docs: update docstring for bigquery_create_routine sample (#883) (#917)
plamut Aug 26, 2021
679e8ed
chore: migrate default branch to main (#910)
plamut Aug 26, 2021
4f229cb
chore: invalid docstrings broke docfx (#924)
Aug 27, 2021
8448922
chore(deps): update all dependencies (#914)
renovate-bot Aug 30, 2021
656d2fa
fix: error inserting DataFrame with REPEATED field (#925)
plamut Aug 31, 2021
bd417d3
chore(deps): update all dependencies (#926)
renovate-bot Aug 31, 2021
fcb0bc6
fix: underscores weren't allowed in struct field names when passing p…
Aug 31, 2021
936686b
chore: release 2.25.2 (#916)
release-please[bot] Sep 1, 2021
10fee52
chore(deps): update all dependencies (#928)
renovate-bot Sep 1, 2021
b289076
fix: guard imports against unsupported pyarrow versions (#934)
tswast Sep 1, 2021
ba02f24
feat: set the X-Server-Timeout header when timeout is set (#927)
Sep 1, 2021
db57c1c
chore: release 2.26.0 (#937)
release-please[bot] Sep 1, 2021
65cb29d
chore(deps): update dependency google-cloud-bigquery to v2.26.0 (#938)
renovate-bot Sep 2, 2021
1c2bd01
chore: update system tests and samples to use and @google.com email a…
Sep 2, 2021
c29c723
chore(python): rename default branch to main (#935)
gcf-owl-bot[bot] Sep 3, 2021
503d360
chore: Reduce duplicated code betweem tests/unit and tests/unit/job (…
Sep 3, 2021
e3b26d8
test: fix routine DDL sample test exits too early (#932)
plamut Sep 3, 2021
c9068e4
chore(deps): update all dependencies (#939)
renovate-bot Sep 3, 2021
1a6ab12
tests: add more dependencies to pre-release tests (#948)
plamut Sep 7, 2021
864383b
fix: Arrow extension-type metadata was not set when calling the REST …
Sep 7, 2021
76c0616
chore: reference main branch of google-cloud-python (#953)
busunkim96 Sep 7, 2021
9157537
chore(deps): update all dependencies (#943)
renovate-bot Sep 10, 2021
acca1cb
feat: include key metadata in Job representation (#964)
plamut Sep 13, 2021
4f72359
test: ensure prerelease versions of pandas and arrow are tested night…
tswast Sep 14, 2021
ab6e76f
docs: simplify destination table sample with f-strings (#966)
tswast Sep 14, 2021
6e785c7
cleanup: get rid of unit test warnings caused by our code (#973)
plamut Sep 17, 2021
afdc1ed
refactor: extract common logic to TableBase class (#956)
plamut Sep 17, 2021
96e6bee
feat: Add py.typed for PEP 561 compliance (#976)
jdufresne Sep 20, 2021
1cef0d4
fix: remove default timeout (#974)
tswast Sep 21, 2021
fcd6336
test: look for transaction info on child job, not parent job (#978)
tswast Sep 21, 2021
ee1e25c
chore: relocate owl bot post processor (#979)
SurferJeffAtGoogle Sep 21, 2021
f83c00a
fix: disambiguate missing policy tags from explicitly unset policy ta…
tswast Sep 24, 2021
71cc728
chore: release 2.27.0 (#965)
release-please[bot] Sep 27, 2021
39030f2
fix: remove py.typed since package fails mypy check (#988)
tswast Sep 27, 2021
3e32c1a
chore: release 2.27.1 (#989)
release-please[bot] Sep 27, 2021
ea50e80
docs: link to stable pandas docs (#990)
tswast Sep 28, 2021
2ca58dc
chore: exclude 'CODEOWNERS' from templated files (#986)
tseaver Sep 28, 2021
a789d00
chore(deps): update all dependencies (#963)
renovate-bot Sep 28, 2021
b376541
chore(deps): update all dependencies (#992)
renovate-bot Sep 29, 2021
d9a03b4
chore: fail samples nox session if python version is missing (#997)
gcf-owl-bot[bot] Sep 30, 2021
1a9431d
feat: add `AvroOptions` to configure AVRO external data (#994)
tswast Sep 30, 2021
e4f7c9b
chore: release 2.28.0 (#998)
release-please[bot] Sep 30, 2021
6581636
build: use trampoline_v2 for python samples and allow custom dockerfi…
gcf-owl-bot[bot] Oct 5, 2021
c6cf0f7
chore: add default_version and codeowner_team to .repo-metadata.json …
parthea Oct 6, 2021
deec8e7
Merge remote-tracking branch 'upstream/main' into sync-v3
tswast Oct 6, 2021
beaadc8
🦉 Updates from OwlBot
gcf-owl-bot[bot] Oct 6, 2021
750c808
chore: remove unnecessary replacement from owlbot
tswast Oct 6, 2021
15c4055
Merge remote-tracking branch 'upstream/sync-v3' into sync-v3
tswast Oct 6, 2021
6bfbb7d
🦉 Updates from OwlBot
gcf-owl-bot[bot] Oct 6, 2021
72255a6
Apply suggestions from code review
tswast Oct 6, 2021
aacc521
chore(deps): update all dependencies (#993)
renovate-bot Oct 7, 2021
1e59083
fix: support ARRAY data type when loading from DataFrame with Parquet…
judahrand Oct 7, 2021
ef3c0f8
chore: release 2.28.1 (#1007)
release-please[bot] Oct 7, 2021
8a3b1ad
Merge remote-tracking branch 'upstream/main' into sync-v3
tswast Oct 7, 2021
0d0aedb
Merge remote-tracking branch 'upstream/sync-v3' into sync-v3
tswast Oct 7, 2021
1661262
🦉 Updates from OwlBot
gcf-owl-bot[bot] Oct 7, 2021
2c90edc
chore: remove unused _PYARROW_BAD_VERSIONS
tswast Oct 7, 2021
aa3c7d2
Merge remote-tracking branch 'upstream/sync-v3' into sync-v3
tswast Oct 7, 2021
7852c5c
🦉 Updates from OwlBot
gcf-owl-bot[bot] Oct 7, 2021
b15b612
chore(python): fix formatting issue in noxfile.py.j2 (#1008)
gcf-owl-bot[bot] Oct 7, 2021
c8124e9
chore(python): Add kokoro configs for python 3.10 samples testing (#1…
gcf-owl-bot[bot] Oct 8, 2021
f7b0ee4
docs: fix formatting of generated client docstrings (#1009)
gcf-owl-bot[bot] Oct 8, 2021
ed9b6cf
Merge remote-tracking branch 'upstream/main' into sync-v3
tswast Oct 8, 2021
294990a
Merge remote-tracking branch 'upstream/sync-v3' into sync-v3
tswast Oct 8, 2021
1762e5b
chore: add DatasetListItem type (#1017)
steffnay Oct 11, 2021
d448d0e
Merge remote-tracking branch 'upstream/main' into sync-v3
tswast Oct 11, 2021
5980920
chore: disable required linear history on v3 branch (#1018)
tswast Oct 12, 2021
685f06a
feat: allow queryJob.result() to be called on a dryRun (#1015)
steffnay Oct 13, 2021
2937fa1
feat: add `QueryJob.schema` property for dry run queries (#1014)
tswast Oct 14, 2021
50753cc
Merge remote-tracking branch 'upstream/main' into sync-v3
tswast Oct 14, 2021
6679109
docs: document ScriptStatistics and other missing resource classes (#…
tswast Oct 15, 2021
1f864fd
chore(python): push cloud library docs to staging bucket for Cloud RA…
gcf-owl-bot[bot] Oct 25, 2021
c67377a
Merge remote-tracking branch 'upstream/main' into sync-v3
tswast Oct 26, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs: fix formatting of generated client docstrings (#1009)
chore: fix docstring for first attribute of protos

committer: @busunkim96
PiperOrigin-RevId: 401271153

Source-Link: googleapis/googleapis@787f8c9

Source-Link: googleapis/googleapis-gen@81decff
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiODFkZWNmZmU5ZmM3MjM5NmE4MTUzZTc1NmQxZDY3YTZlZWNmZDYyMCJ9

* 🦉 Updates from OwlBot

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Co-authored-by: Tim Swast <swast@google.com>
  • Loading branch information
3 people authored Oct 8, 2021
commit f7b0ee45a664295ccc9f209eeeac122af8de3c80
1 change: 1 addition & 0 deletions google/cloud/bigquery_v2/types/encryption_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@

class EncryptionConfiguration(proto.Message):
r"""

Attributes:
kms_key_name (google.protobuf.wrappers_pb2.StringValue):
Optional. Describes the Cloud KMS encryption
Expand Down
30 changes: 28 additions & 2 deletions google/cloud/bigquery_v2/types/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@

class Model(proto.Message):
r"""

Attributes:
etag (str):
Output only. A hash of this resource.
Expand Down Expand Up @@ -251,7 +252,8 @@ class FeedbackType(proto.Enum):
EXPLICIT = 2

class SeasonalPeriod(proto.Message):
r""" """
r"""
"""

class SeasonalPeriodType(proto.Enum):
r""""""
Expand All @@ -264,7 +266,8 @@ class SeasonalPeriodType(proto.Enum):
YEARLY = 6

class KmeansEnums(proto.Message):
r""" """
r"""
"""

class KmeansInitializationMethod(proto.Enum):
r"""Indicates the method used to initialize the centroids for
Expand Down Expand Up @@ -386,6 +389,7 @@ class BinaryClassificationMetrics(proto.Message):

class BinaryConfusionMatrix(proto.Message):
r"""Confusion matrix for binary classification models.

Attributes:
positive_class_threshold (google.protobuf.wrappers_pb2.DoubleValue):
Threshold value used when computing each of
Expand Down Expand Up @@ -464,6 +468,7 @@ class MultiClassClassificationMetrics(proto.Message):

class ConfusionMatrix(proto.Message):
r"""Confusion matrix for multi-class classification models.

Attributes:
confidence_threshold (google.protobuf.wrappers_pb2.DoubleValue):
Confidence threshold used when computing the
Expand All @@ -474,6 +479,7 @@ class ConfusionMatrix(proto.Message):

class Entry(proto.Message):
r"""A single entry in the confusion matrix.

Attributes:
predicted_label (str):
The predicted label. For confidence_threshold > 0, we will
Expand All @@ -491,6 +497,7 @@ class Entry(proto.Message):

class Row(proto.Message):
r"""A single row in the confusion matrix.

Attributes:
actual_label (str):
The original label of this row.
Expand Down Expand Up @@ -525,6 +532,7 @@ class Row(proto.Message):

class ClusteringMetrics(proto.Message):
r"""Evaluation metrics for clustering models.

Attributes:
davies_bouldin_index (google.protobuf.wrappers_pb2.DoubleValue):
Davies-Bouldin index.
Expand All @@ -537,6 +545,7 @@ class ClusteringMetrics(proto.Message):

class Cluster(proto.Message):
r"""Message containing the information about one cluster.

Attributes:
centroid_id (int):
Centroid id.
Expand All @@ -550,6 +559,7 @@ class Cluster(proto.Message):

class FeatureValue(proto.Message):
r"""Representative value of a single feature within the cluster.

Attributes:
feature_column (str):
The feature column name.
Expand All @@ -562,6 +572,7 @@ class FeatureValue(proto.Message):

class CategoricalValue(proto.Message):
r"""Representative value of a categorical feature.

Attributes:
category_counts (Sequence[google.cloud.bigquery_v2.types.Model.ClusteringMetrics.Cluster.FeatureValue.CategoricalValue.CategoryCount]):
Counts of all categories for the categorical feature. If
Expand All @@ -573,6 +584,7 @@ class CategoricalValue(proto.Message):

class CategoryCount(proto.Message):
r"""Represents the count of a single category within the cluster.

Attributes:
category (str):
The name of category.
Expand Down Expand Up @@ -668,6 +680,7 @@ class RankingMetrics(proto.Message):

class ArimaForecastingMetrics(proto.Message):
r"""Model evaluation metrics for ARIMA forecasting models.

Attributes:
non_seasonal_order (Sequence[google.cloud.bigquery_v2.types.Model.ArimaOrder]):
Non-seasonal order.
Expand Down Expand Up @@ -857,6 +870,7 @@ class ArimaOrder(proto.Message):

class ArimaFittingMetrics(proto.Message):
r"""ARIMA model fitting metrics.

Attributes:
log_likelihood (float):
Log-likelihood.
Expand Down Expand Up @@ -888,6 +902,7 @@ class GlobalExplanation(proto.Message):

class Explanation(proto.Message):
r"""Explanation for a single feature.

Attributes:
feature_name (str):
Full name of the feature. For non-numerical features, will
Expand All @@ -910,6 +925,7 @@ class Explanation(proto.Message):

class TrainingRun(proto.Message):
r"""Information about a single training query run for the model.

Attributes:
training_options (google.cloud.bigquery_v2.types.Model.TrainingRun.TrainingOptions):
Options that were used for this training run,
Expand All @@ -935,6 +951,7 @@ class TrainingRun(proto.Message):

class TrainingOptions(proto.Message):
r"""Options used in model training.

Attributes:
max_iterations (int):
The maximum number of iterations in training.
Expand Down Expand Up @@ -1182,6 +1199,7 @@ class TrainingOptions(proto.Message):

class IterationResult(proto.Message):
r"""Information about a single iteration of the training run.

Attributes:
index (google.protobuf.wrappers_pb2.Int32Value):
Index of the iteration, 0 based.
Expand All @@ -1205,6 +1223,7 @@ class IterationResult(proto.Message):

class ClusterInfo(proto.Message):
r"""Information about a single cluster for clustering model.

Attributes:
centroid_id (int):
Centroid id.
Expand Down Expand Up @@ -1241,6 +1260,7 @@ class ArimaResult(proto.Message):

class ArimaCoefficients(proto.Message):
r"""Arima coefficients.

Attributes:
auto_regressive_coefficients (Sequence[float]):
Auto-regressive coefficients, an array of
Expand All @@ -1263,6 +1283,7 @@ class ArimaCoefficients(proto.Message):

class ArimaModelInfo(proto.Message):
r"""Arima model information.

Attributes:
non_seasonal_order (google.cloud.bigquery_v2.types.Model.ArimaOrder):
Non-seasonal order.
Expand Down Expand Up @@ -1409,6 +1430,7 @@ class ArimaModelInfo(proto.Message):

class GetModelRequest(proto.Message):
r"""

Attributes:
project_id (str):
Required. Project ID of the requested model.
Expand All @@ -1425,6 +1447,7 @@ class GetModelRequest(proto.Message):

class PatchModelRequest(proto.Message):
r"""

Attributes:
project_id (str):
Required. Project ID of the model to patch.
Expand All @@ -1447,6 +1470,7 @@ class PatchModelRequest(proto.Message):

class DeleteModelRequest(proto.Message):
r"""

Attributes:
project_id (str):
Required. Project ID of the model to delete.
Expand All @@ -1463,6 +1487,7 @@ class DeleteModelRequest(proto.Message):

class ListModelsRequest(proto.Message):
r"""

Attributes:
project_id (str):
Required. Project ID of the models to list.
Expand All @@ -1487,6 +1512,7 @@ class ListModelsRequest(proto.Message):

class ListModelsResponse(proto.Message):
r"""

Attributes:
models (Sequence[google.cloud.bigquery_v2.types.Model]):
Models in the requested dataset. Only the following fields
Expand Down
1 change: 1 addition & 0 deletions google/cloud/bigquery_v2/types/model_reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

class ModelReference(proto.Message):
r"""Id path of a model.

Attributes:
project_id (str):
Required. The ID of the project containing
Expand Down
3 changes: 3 additions & 0 deletions google/cloud/bigquery_v2/types/standard_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ class TypeKind(proto.Enum):

class StandardSqlField(proto.Message):
r"""A field or a column.

Attributes:
name (str):
Optional. The name of this field. Can be
Expand All @@ -96,6 +97,7 @@ class StandardSqlField(proto.Message):

class StandardSqlStructType(proto.Message):
r"""

Attributes:
fields (Sequence[google.cloud.bigquery_v2.types.StandardSqlField]):

Expand All @@ -106,6 +108,7 @@ class StandardSqlStructType(proto.Message):

class StandardSqlTableType(proto.Message):
r"""A table type

Attributes:
columns (Sequence[google.cloud.bigquery_v2.types.StandardSqlField]):
The columns in this table type
Expand Down
1 change: 1 addition & 0 deletions google/cloud/bigquery_v2/types/table_reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@

class TableReference(proto.Message):
r"""

Attributes:
project_id (str):
Required. The ID of the project containing
Expand Down