Skip to content

Commit

Permalink
Merge branch 'main' into imports
Browse files Browse the repository at this point in the history
  • Loading branch information
Linchin committed Apr 11, 2024
2 parents 8dd74b8 + a3168f4 commit 592b45d
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
24 changes: 12 additions & 12 deletions google/cloud/bigquery_storage_v1/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,11 +228,11 @@ def rows(self, read_session=None):
read_session ( \
Optional[~google.cloud.bigquery_storage_v1.types.ReadSession] \
):
DEPRECATED.
This argument was used to specify the schema of the rows in the
stream, but now the first message in a read stream contains
this information.
this information. When row_restriction is applied, some streams
may be empty without read_session info. Provide this argument
to avoid an error. For more information, see https://github.com/googleapis/python-bigquery-storage/issues/733
Returns:
Iterable[Mapping]:
Expand All @@ -250,11 +250,11 @@ def to_arrow(self, read_session=None):
read_session ( \
~google.cloud.bigquery_storage_v1.types.ReadSession \
):
DEPRECATED.
This argument was used to specify the schema of the rows in the
stream, but now the first message in a read stream contains
this information.
this information. When row_restriction is applied, some streams
may be empty without read_session info. Provide this argument
to avoid an error. For more information, see https://github.com/googleapis/python-bigquery-storage/issues/733
Returns:
pyarrow.Table:
Expand All @@ -276,11 +276,11 @@ def to_dataframe(self, read_session=None, dtypes=None):
read_session ( \
~google.cloud.bigquery_storage_v1.types.ReadSession \
):
DEPRECATED.
This argument was used to specify the schema of the rows in the
stream, but now the first message in a read stream contains
this information.
this information. When row_restriction is applied, some streams
may be empty without read_session info. Provide this argument
to avoid an error. For more information, see https://github.com/googleapis/python-bigquery-storage/issues/733
dtypes ( \
Map[str, Union[str, pandas.Series.dtype]] \
):
Expand Down Expand Up @@ -308,11 +308,11 @@ class ReadRowsIterable(object):
read_session ( \
Optional[~google.cloud.bigquery_storage_v1.types.ReadSession] \
):
DEPRECATED.
This argument was used to specify the schema of the rows in the
stream, but now the first message in a read stream contains
this information.
this information. When row_restriction is applied, some streams
may be empty without read_session info. Provide this argument
to avoid an error. For more information, see https://github.com/googleapis/python-bigquery-storage/issues/733ß
"""

# This class is modelled after the google.cloud.bigquery.table.RowIterator
Expand Down
2 changes: 1 addition & 1 deletion samples/quickstart/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pytest==7.4.3; python_version == '3.7'
pytest===7.4.3; python_version == '3.7'
pytest==8.1.1; python_version >= '3.8'
2 changes: 1 addition & 1 deletion samples/snippets/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
google-cloud-testutils==1.4.0
pytest==7.4.3; python_version == '3.7'
pytest===7.4.3; python_version == '3.7'
pytest==8.1.1; python_version >= '3.8'
2 changes: 1 addition & 1 deletion samples/to_dataframe/requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pytest==7.4.3; python_version == '3.7'
pytest===7.4.3; python_version == '3.7'
pytest==8.1.1; python_version >= '3.8'
4 changes: 2 additions & 2 deletions samples/to_dataframe/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
google-auth==2.29.0
google-cloud-bigquery-storage==2.24.0
google-cloud-bigquery==3.20.1
pyarrow==12.0.1; python_version == '3.7'
pyarrow===12.0.1; python_version == '3.7'
pyarrow==15.0.2; python_version >= '3.8'
ipython===7.31.1; python_version == '3.7'
ipython===8.10.0; python_version == '3.8'
ipython==8.18.1; python_version == '3.9'
ipython===8.18.1; python_version == '3.9'
ipython==8.23.0; python_version >= '3.10'
ipywidgets==8.1.2
pandas===1.3.5; python_version == '3.7'
Expand Down

0 comments on commit 592b45d

Please sign in to comment.