Skip to content

Commit a7dae47

Browse files
committed
update post processing
1 parent 962ebe5 commit a7dae47

File tree

1 file changed

+65
-2
lines changed

1 file changed

+65
-2
lines changed

scripts/client-post-processing/bigquery-storage-integration.yaml

Lines changed: 65 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,8 @@ replacements:
183183
"ReadRowsStream",
184184
"ReadSession",
185185
count: 1
186+
# Given that this file is mostly handwritten, we could omit the file completely when we migrate to librarian
187+
# See `preserve_regex` in https://github.com/googleapis/librarian/blob/main/doc/language-onboarding.md#generate
186188
- paths: [
187189
packages/google-cloud-bigquery-storage/google/cloud/bigquery_storage_v1/__init__.py,
188190
]
@@ -278,5 +280,66 @@ replacements:
278280
"BigQueryWriteClient",
279281
)
280282
count: 1
281-
282-
283+
# Given that this file is mostly handwritten, we could omit the file completely when we migrate to librarian
284+
# See `preserve_regex` in https://github.com/googleapis/librarian/blob/main/doc/language-onboarding.md#generate
285+
- paths: [
286+
packages/google-cloud-bigquery-storage/google/cloud/bigquery_storage_v1alpha/__init__.py,
287+
packages/google-cloud-bigquery-storage/google/cloud/bigquery_storage_v1beta/__init__.py,
288+
]
289+
before: |
290+
__version__ = package_version.__version__\n\n
291+
from .services.metastore_partition_service import \(
292+
MetastorePartitionServiceAsyncClient,
293+
MetastorePartitionServiceClient,
294+
\)
295+
from .types.metastore_partition import \(
296+
BatchCreateMetastorePartitionsRequest,
297+
BatchCreateMetastorePartitionsResponse,
298+
BatchDeleteMetastorePartitionsRequest,
299+
BatchSizeTooLargeError,
300+
BatchUpdateMetastorePartitionsRequest,
301+
BatchUpdateMetastorePartitionsResponse,
302+
CreateMetastorePartitionRequest,
303+
ListMetastorePartitionsRequest,
304+
ListMetastorePartitionsResponse,
305+
StreamMetastorePartitionsRequest,
306+
StreamMetastorePartitionsResponse,
307+
UpdateMetastorePartitionRequest,
308+
\)
309+
from .types.partition import \(
310+
FieldSchema,
311+
MetastorePartition,
312+
MetastorePartitionList,
313+
MetastorePartitionValues,
314+
ReadStream,
315+
SerDeInfo,
316+
StorageDescriptor,
317+
StreamList,
318+
\)\n
319+
__all__ = \(
320+
"MetastorePartitionServiceAsyncClient",
321+
"BatchCreateMetastorePartitionsRequest",
322+
"BatchCreateMetastorePartitionsResponse",
323+
"BatchDeleteMetastorePartitionsRequest",
324+
"BatchSizeTooLargeError",
325+
"BatchUpdateMetastorePartitionsRequest",
326+
"BatchUpdateMetastorePartitionsResponse",
327+
"CreateMetastorePartitionRequest",
328+
"FieldSchema",
329+
"ListMetastorePartitionsRequest",
330+
"ListMetastorePartitionsResponse",
331+
"MetastorePartition",
332+
"MetastorePartitionList",
333+
"MetastorePartitionServiceClient",
334+
"MetastorePartitionValues",
335+
"ReadStream",
336+
"SerDeInfo",
337+
"StorageDescriptor",
338+
"StreamList",
339+
"StreamMetastorePartitionsRequest",
340+
"StreamMetastorePartitionsResponse",
341+
"UpdateMetastorePartitionRequest",
342+
\)
343+
after: |
344+
__version__ = package_version.__version__
345+
count: 2

0 commit comments

Comments
 (0)