@@ -189,7 +189,6 @@ replacements:
189189 packages/google-cloud-bigquery-storage/google/cloud/bigquery_storage_v1/__init__.py,
190190 ]
191191 before : |
192- __version__ = package_version.__version__\n\n
193192 from .services.big_query_read import BigQueryReadAsyncClient, BigQueryReadClient
194193 from .services.big_query_write import BigQueryWriteAsyncClient, BigQueryWriteClient
195194 from .types.arrow import ArrowRecordBatch, ArrowSchema, ArrowSerializationOptions
@@ -224,6 +223,19 @@ replacements:
224223 WriteStreamView,
225224 \)
226225 from .types.table import TableFieldSchema, TableSchema\n
226+ after : |
227+ from google.cloud.bigquery_storage_v1 import client, types\n\n
228+ class BigQueryReadClient(client.BigQueryReadClient):
229+ __doc__ = client.BigQueryReadClient.__doc__\n\n
230+ class BigQueryWriteClient(client.BigQueryWriteClient):
231+ __doc__ = client.BigQueryWriteClient.__doc__\n\n
232+ count : 1
233+ # Given that this file is mostly handwritten, we could omit the file completely when we migrate to librarian
234+ # See `preserve_regex` in https://github.com/googleapis/librarian/blob/main/doc/language-onboarding.md#generate
235+ - paths : [
236+ packages/google-cloud-bigquery-storage/google/cloud/bigquery_storage_v1/__init__.py,
237+ ]
238+ before : |
227239 __all__ = \(
228240 "BigQueryReadAsyncClient",
229241 "BigQueryWriteAsyncClient",
@@ -265,12 +277,6 @@ replacements:
265277 "WriteStreamView",
266278 \)
267279 after : |
268- __version__ = package_version.__version__\n
269- from google.cloud.bigquery_storage_v1 import client, types\n\n
270- class BigQueryReadClient(client.BigQueryReadClient):
271- __doc__ = client.BigQueryReadClient.__doc__\n\n
272- class BigQueryWriteClient(client.BigQueryWriteClient):
273- __doc__ = client.BigQueryWriteClient.__doc__\n\n
274280 __all__ = (
275281 # google.cloud.bigquery_storage_v1
276282 "__version__",
@@ -287,7 +293,6 @@ replacements:
287293 packages/google-cloud-bigquery-storage/google/cloud/bigquery_storage_v1beta/__init__.py,
288294 ]
289295 before : |
290- __version__ = package_version.__version__\n\n
291296 from .services.metastore_partition_service import \(
292297 MetastorePartitionServiceAsyncClient,
293298 MetastorePartitionServiceClient,
@@ -316,6 +321,16 @@ replacements:
316321 StorageDescriptor,
317322 StreamList,
318323 \)\n
324+ after : " "
325+ count : 2
326+ # Given that this file is mostly handwritten, we could omit the file completely when we migrate to librarian
327+ # See `preserve_regex` in https://github.com/googleapis/librarian/blob/main/doc/language-onboarding.md#generate
328+ - paths : [
329+ packages/google-cloud-bigquery-storage/google/cloud/bigquery_storage_v1alpha/__init__.py,
330+ packages/google-cloud-bigquery-storage/google/cloud/bigquery_storage_v1beta/__init__.py,
331+ ]
332+ before : |
333+ \)\n
319334 __all__ = \(
320335 "MetastorePartitionServiceAsyncClient",
321336 "BatchCreateMetastorePartitionsRequest",
@@ -341,15 +356,14 @@ replacements:
341356 "UpdateMetastorePartitionRequest",
342357 \)
343358 after : |
344- __version__ = package_version.__version__
359+ )
345360 count : 2
346361 # Given that this file is mostly handwritten, we could omit the file completely when we migrate to librarian
347362 # See `preserve_regex` in https://github.com/googleapis/librarian/blob/main/doc/language-onboarding.md#generate
348363 - paths : [
349364 packages/google-cloud-bigquery-storage/google/cloud/bigquery_storage_v1beta2/__init__.py,
350365 ]
351366 before : |
352- __version__ = package_version.__version__\n\n
353367 from .services.big_query_read import BigQueryReadAsyncClient, BigQueryReadClient
354368 from .services.big_query_write import BigQueryWriteAsyncClient, BigQueryWriteClient
355369 from .types.arrow import ArrowRecordBatch, ArrowSchema, ArrowSerializationOptions
@@ -377,6 +391,19 @@ replacements:
377391 \)
378392 from .types.stream import DataFormat, ReadSession, ReadStream, WriteStream
379393 from .types.table import TableFieldSchema, TableSchema\n
394+ after : |
395+ from google.cloud.bigquery_storage_v1beta2 import client, types\n\n
396+ class BigQueryReadClient(client.BigQueryReadClient):
397+ __doc__ = client.BigQueryReadClient.__doc__\n\n
398+ class BigQueryWriteClient(client.BigQueryWriteClient):
399+ __doc__ = client.BigQueryWriteClient.__doc__\n\n
400+ count : 1
401+ # Given that this file is mostly handwritten, we could omit the file completely when we migrate to librarian
402+ # See `preserve_regex` in https://github.com/googleapis/librarian/blob/main/doc/language-onboarding.md#generate
403+ - paths : [
404+ packages/google-cloud-bigquery-storage/google/cloud/bigquery_storage_v1beta2/__init__.py,
405+ ]
406+ before : |
380407 __all__ = \(
381408 "BigQueryReadAsyncClient",
382409 "BigQueryWriteAsyncClient",
@@ -415,12 +442,6 @@ replacements:
415442 "WriteStream",
416443 \)
417444 after : |
418- __version__ = package_version.__version__\n
419- from google.cloud.bigquery_storage_v1beta2 import client, types\n\n
420- class BigQueryReadClient(client.BigQueryReadClient):
421- __doc__ = client.BigQueryReadClient.__doc__\n\n
422- class BigQueryWriteClient(client.BigQueryWriteClient):
423- __doc__ = client.BigQueryWriteClient.__doc__\n\n
424445 __all__ = (
425446 # google.cloud.bigquery_storage_v1beta2
426447 "__version__",
0 commit comments