Skip to content

Commit fd932eb

Browse files
partheaLinchin
andcommitted
chore: remove redundant code (#979)
Co-authored-by: Lingqing Gan <lingqing.gan@gmail.com>
1 parent c7c1338 commit fd932eb

File tree

3 files changed

+0
-14
lines changed

3 files changed

+0
-14
lines changed

packages/google-cloud-bigquery-storage/google/cloud/bigquery_storage_v1/types/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@
6868
"StorageError",
6969
"StreamStats",
7070
"ThrottleState",
71-
"DataFormat",
7271
"ReadSession",
7372
"ReadStream",
7473
"WriteStream",

packages/google-cloud-bigquery-storage/google/cloud/bigquery_storage_v1beta2/types/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565
"StorageError",
6666
"StreamStats",
6767
"ThrottleState",
68-
"DataFormat",
6968
"ReadSession",
7069
"ReadStream",
7170
"WriteStream",

packages/google-cloud-bigquery-storage/owlbot.py

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -76,18 +76,6 @@
7676
),
7777
)
7878

79-
# The DataFormat enum is not exposed in bigquery_storage_v1/types, add it there.
80-
assert 1 == s.replace(
81-
library / f"google/cloud/bigquery_storage_{library.name}*/types/__init__.py",
82-
r"from \.stream import \(",
83-
"\\g<0>\n DataFormat,",
84-
)
85-
assert 1 == s.replace(
86-
library / f"google/cloud/bigquery_storage_{library.name}*/types/__init__.py",
87-
r"""["']ReadSession["']""",
88-
'"DataFormat",\n \\g<0>',
89-
)
90-
9179
# Expose handwritten classes AppendRowsStream and ReadRowsStream here.
9280
assert 1 == s.replace(
9381
library / "google/cloud/bigquery_storage/__init__.py",

0 commit comments

Comments
 (0)