Skip to content

Make all imported module members public. - #2231

Closed
dhermes wants to merge 2 commits into
googleapis:masterfrom
dhermes:fix-1735
Closed

Make all imported module members public.#2231
dhermes wants to merge 2 commits into
googleapis:masterfrom
dhermes:fix-1735

Conversation

@dhermes

Copy link
Copy Markdown
Contributor

Fixes#1735.

Changes made via:

git grep -l '_NOW' | xargs sed -i s/'_NOW'/'NOW'/g
git grep -l '_LocalStack' | xargs sed -i s/'_LocalStack'/'LocalStack'/g
git grep -l '_ensure_tuple_or_list' | xargs sed -i s/'_ensure_tuple_or_list'/'ensure_tuple_or_list'/g
git grep -l '_millis_from_datetime' | xargs sed -i s/'_millis_from_datetime'/'millis_from_datetime'/g
git grep -l '_millis' -- gcloud | xargs sed -i s/'_millis'/'millis'/g
git grep -l '_datetime_from_microseconds' | xargs sed -i s/'_datetime_from_microseconds'/'datetime_from_microseconds'/g
git grep -l '_microseconds_from_datetime' | xargs sed -i s/'_microseconds_from_datetime'/'microseconds_from_datetime'/g
git grep -l '_rfc3339_to_datetime' | xargs sed -i s/'_rfc3339_to_datetime'/'rfc3339_to_datetime'/g
git grep -l '_rfc3339_nanos_to_datetime' | xargs sed -i s/'_rfc3339_nanos_to_datetime'/'rfc3339_nanos_to_datetime'/g
git grep -l '_datetime_to_rfc3339' | xargs sed -i s/'_datetime_to_rfc3339'/'datetime_to_rfc3339'/g
git grep -l '_to_bytes' | xargs sed -i s/'_to_bytes'/'to_bytes'/g
git grep -l '_bytes_to_unicode' | xargs sed -i s/'_bytes_to_unicode'/'bytes_to_unicode'/g
git grep -l '_pb_timestamp_to_datetime' | xargs sed -i s/'_pb_timestamp_to_datetime'/'pb_timestamp_to_datetime'/g
git grep -l '_pb_timestamp_to_rfc3339' | xargs sed -i s/'_pb_timestamp_to_rfc3339'/'pb_timestamp_to_rfc3339'/g
git grep -l '_datetime_to_pb_timestamp' | xargs sed -i s/'_datetime_to_pb_timestamp'/'datetime_to_pb_timestamp'/g
git grep -l '_name_from_project_path' | xargs sed -i s/'_name_from_project_path'/'name_from_project_path'/g
git grep -l '_rows_from_json' | xargs sed -i s/'_rows_from_json'/'rows_from_json'/g
git grep -l '_TypedProperty' | xargs sed -i s/'_TypedProperty'/'TypedProperty'/g
git grep -l '_EnumProperty' | xargs sed -i s/'_EnumProperty'/'EnumProperty'/g
git grep -l '_PropertyMixin' | xargs sed -i s/'_PropertyMixin'/'PropertyMixin'/g
git grep -l '_scalar_property' | xargs sed -i s/'_scalar_property'/'scalar_property'/g
git grep -l '_base64_md5hash' | xargs sed -i s/'_base64_md5hash'/'base64_md5hash'/g
git grep -l '_build_udf_resources' | xargs sed -i s/'_build_udf_resources'/'build_udf_resources'/g
git grep -l '_build_schema_resource' | xargs sed -i s/'_build_schema_resource'/'build_schema_resource'/g
git grep -l '_parse_schema_resource' | xargs sed -i s/'_parse_schema_resource'/'parse_schema_resource'/g
git grep -l '_EXISTING_INSTANCE_LOCATION_ID' | xargs sed -i s/'_EXISTING_INSTANCE_LOCATION_ID'/'EXISTING_INSTANCE_LOCATION_ID'/g
git grep -l '_gc_rule_from_pb' | xargs sed -i s/'_gc_rule_from_pb'/'gc_rule_from_pb'/g
git grep -l '_set_protobuf_value' | xargs sed -i s/'_set_protobuf_value'/'set_protobuf_value'/g
git grep -l 'Testset_protobuf_value' | xargs sed -i s/'Testset_protobuf_value'/'Test_set_protobuf_value'/g
git grep -l '_LoggingAPI' | xargs sed -i s/'_LoggingAPI'/'LoggingAPI'/g
git grep -l '_MetricsAPI' | xargs sed -i s/'_MetricsAPI'/'MetricsAPI'/g
git grep -l '_SinksAPI' | xargs sed -i s/'_SinksAPI'/'SinksAPI'/g
git grep -l '_build_dataframe' | xargs sed -i s/'_build_dataframe'/'build_dataframe'/g
git grep -l '_compute_type_url' | xargs sed -i s/'_compute_type_url'/'compute_type_url'/g
git grep -l '_register_type_url' | xargs sed -i s/'_register_type_url'/'register_type_url'/g
git grep -l '_PublisherAPI' | xargs sed -i s/'_PublisherAPI'/'PublisherAPI'/g
git grep -l '_SubscriberAPI' | xargs sed -i s/'_SubscriberAPI'/'SubscriberAPI'/g
git grep -l '_IAMPolicyAPI' | xargs sed -i s/'_IAMPolicyAPI'/'IAMPolicyAPI'/g
git grep -l '_ClientProjectMixin' | xargs sed -i s/'_ClientProjectMixin'/'ClientProjectMixin'/g
git grep -l '_ClientFactoryMixin' | xargs sed -i s/'_ClientFactoryMixin'/'ClientFactoryMixin'/g

and a few small edits after the fact.

Also removing commas from imports.


@tseaver This is a "dont-merge" for now, but worth considering. LMKWYT. (Some of these renames are not quite right and a little re-org may be a better way to fix.)

Fixesgoogleapis#1735.
Changes made via:
git grep -l '_NOW' | xargs sed -i s/'_NOW'/'NOW'/g
git grep -l '_LocalStack' | xargs sed -i s/'_LocalStack'/'LocalStack'/g
git grep -l '_ensure_tuple_or_list' | xargs sed -i s/'_ensure_tuple_or_list'/'ensure_tuple_or_list'/g
git grep -l '_millis_from_datetime' | xargs sed -i s/'_millis_from_datetime'/'millis_from_datetime'/g
git grep -l '_millis' -- gcloud | xargs sed -i s/'_millis'/'millis'/g
git grep -l '_datetime_from_microseconds' | xargs sed -i s/'_datetime_from_microseconds'/'datetime_from_microseconds'/g
git grep -l '_microseconds_from_datetime' | xargs sed -i s/'_microseconds_from_datetime'/'microseconds_from_datetime'/g
git grep -l '_rfc3339_to_datetime' | xargs sed -i s/'_rfc3339_to_datetime'/'rfc3339_to_datetime'/g
git grep -l '_rfc3339_nanos_to_datetime' | xargs sed -i s/'_rfc3339_nanos_to_datetime'/'rfc3339_nanos_to_datetime'/g
git grep -l '_datetime_to_rfc3339' | xargs sed -i s/'_datetime_to_rfc3339'/'datetime_to_rfc3339'/g
git grep -l '_to_bytes' | xargs sed -i s/'_to_bytes'/'to_bytes'/g
git grep -l '_bytes_to_unicode' | xargs sed -i s/'_bytes_to_unicode'/'bytes_to_unicode'/g
git grep -l '_pb_timestamp_to_datetime' | xargs sed -i s/'_pb_timestamp_to_datetime'/'pb_timestamp_to_datetime'/g
git grep -l '_pb_timestamp_to_rfc3339' | xargs sed -i s/'_pb_timestamp_to_rfc3339'/'pb_timestamp_to_rfc3339'/g
git grep -l '_datetime_to_pb_timestamp' | xargs sed -i s/'_datetime_to_pb_timestamp'/'datetime_to_pb_timestamp'/g
git grep -l '_name_from_project_path' | xargs sed -i s/'_name_from_project_path'/'name_from_project_path'/g
git grep -l '_rows_from_json' | xargs sed -i s/'_rows_from_json'/'rows_from_json'/g
git grep -l '_TypedProperty' | xargs sed -i s/'_TypedProperty'/'TypedProperty'/g
git grep -l '_EnumProperty' | xargs sed -i s/'_EnumProperty'/'EnumProperty'/g
git grep -l '_PropertyMixin' | xargs sed -i s/'_PropertyMixin'/'PropertyMixin'/g
git grep -l '_scalar_property' | xargs sed -i s/'_scalar_property'/'scalar_property'/g
git grep -l '_base64_md5hash' | xargs sed -i s/'_base64_md5hash'/'base64_md5hash'/g
git grep -l '_build_udf_resources' | xargs sed -i s/'_build_udf_resources'/'build_udf_resources'/g
git grep -l '_build_schema_resource' | xargs sed -i s/'_build_schema_resource'/'build_schema_resource'/g
git grep -l '_parse_schema_resource' | xargs sed -i s/'_parse_schema_resource'/'parse_schema_resource'/g
git grep -l '_EXISTING_INSTANCE_LOCATION_ID' | xargs sed -i s/'_EXISTING_INSTANCE_LOCATION_ID'/'EXISTING_INSTANCE_LOCATION_ID'/g
git grep -l '_gc_rule_from_pb' | xargs sed -i s/'_gc_rule_from_pb'/'gc_rule_from_pb'/g
git grep -l '_set_protobuf_value' | xargs sed -i s/'_set_protobuf_value'/'set_protobuf_value'/g
git grep -l 'Testset_protobuf_value' | xargs sed -i s/'Testset_protobuf_value'/'Test_set_protobuf_value'/g
git grep -l '_LoggingAPI' | xargs sed -i s/'_LoggingAPI'/'LoggingAPI'/g
git grep -l '_MetricsAPI' | xargs sed -i s/'_MetricsAPI'/'MetricsAPI'/g
git grep -l '_SinksAPI' | xargs sed -i s/'_SinksAPI'/'SinksAPI'/g
git grep -l '_build_dataframe' | xargs sed -i s/'_build_dataframe'/'build_dataframe'/g
git grep -l '_compute_type_url' | xargs sed -i s/'_compute_type_url'/'compute_type_url'/g
git grep -l '_register_type_url' | xargs sed -i s/'_register_type_url'/'register_type_url'/g
git grep -l '_PublisherAPI' | xargs sed -i s/'_PublisherAPI'/'PublisherAPI'/g
git grep -l '_SubscriberAPI' | xargs sed -i s/'_SubscriberAPI'/'SubscriberAPI'/g
git grep -l '_IAMPolicyAPI' | xargs sed -i s/'_IAMPolicyAPI'/'IAMPolicyAPI'/g
git grep -l '_ClientProjectMixin' | xargs sed -i s/'_ClientProjectMixin'/'ClientProjectMixin'/g
git grep -l '_ClientFactoryMixin' | xargs sed -i s/'_ClientFactoryMixin'/'ClientFactoryMixin'/g
and a few small edits after the fact.
@dhermesdhermes added hygiene do not merge Indicates a pull request not ready for merge, due to either quality or timing. labels Sep 1, 2016
@googlebotgooglebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 1, 2016
@tseaver

Copy link
Copy Markdown
Contributor

-1 to this effort. These names should not be make blanket public: they aren't intended to be part of the API we expose to library users. Renaming them risks having users assume that they are public, e.g. after discovering them at point-of-use.

@dhermesdhermes closed this Sep 7, 2016
@dhermes
dhermes deleted the fix-1735 branch September 7, 2016 17:17
parthea pushed a commit that referenced this pull request Mar 2, 2026
* Add pubsub publisher and subscriber samples
Change-Id: I38b90c10aef72c37188c4520897302933b9d2ea7
* Update readme
Change-Id: Ie95e2e1556a8d97b5321dc86bf8de431aa36a2d5
* Add pubsub iam samples
Change-Id: I12c407d3cdf4a3f9736dfaeca6f20b31df6d310a
* Fix lint issue
Change-Id: Ifebdab0b974cc3d3fe8900a23ca7416fed9e026a
* Auto-update dependencies. [(#540)](GoogleCloudPlatform/python-docs-samples#540)
* Auto-update dependencies. [(#542)](GoogleCloudPlatform/python-docs-samples#542)
* Move to google-cloud [(#544)](GoogleCloudPlatform/python-docs-samples#544)
* Add new "quickstart" samples [(#547)](GoogleCloudPlatform/python-docs-samples#547)
* Quickstart tests [(#569)](GoogleCloudPlatform/python-docs-samples#569)
* Add tests for quickstarts
* Update secrets
* Generate readmes for most service samples [(#599)](GoogleCloudPlatform/python-docs-samples#599)
* Update samples to support latest Google Cloud Python [(#656)](GoogleCloudPlatform/python-docs-samples#656)
* Auto-update dependencies. [(#715)](GoogleCloudPlatform/python-docs-samples#715)
* Fix pubusb tests
Change-Id: I7dfe60b0f1240dc58a664968fd97ca5a8fa1109d
* Auto-update dependencies. [(#825)](GoogleCloudPlatform/python-docs-samples#825)
* Auto-update dependencies. [(#876)](GoogleCloudPlatform/python-docs-samples#876)
* Fix reference to our testing tools
* Re-generate all readmes
* Auto-update dependencies. [(#922)](GoogleCloudPlatform/python-docs-samples#922)
* Auto-update dependencies.
* Fix pubsub iam samples
* Fix README rst links [(#962)](GoogleCloudPlatform/python-docs-samples#962)
* Fix README rst links
* Update all READMEs
* Auto-update dependencies. [(#1004)](GoogleCloudPlatform/python-docs-samples#1004)
* Auto-update dependencies.
* Fix natural language samples
* Fix pubsub iam samples
* Fix language samples
* Fix bigquery samples
* Auto-update dependencies. [(#1055)](GoogleCloudPlatform/python-docs-samples#1055)
* Auto-update dependencies.
* Explicitly use latest bigtable client
Change-Id: Id71e9e768f020730e4ca9514a0d7ebaa794e7d9e
* Revert language update for now
Change-Id: I8867f154e9a5aae00d0047c9caf880e5e8f50c53
* Remove pdb. smh
Change-Id: I5ff905fadc026eebbcd45512d4e76e003e3b2b43
* Update pubsub samples [(#1092)](GoogleCloudPlatform/python-docs-samples#1092)
* Fix argpraser for pubsub subscriber
Change-Id: I776863091846ee8ff8a70078c8b8d5498cf81ed6
* Add comment about result blocking in pubsub samples
Change-Id: I149fc1242ceb6b2cff8eae7ef18b364dd5c26566
* Auto-update dependencies. [(#1097)](GoogleCloudPlatform/python-docs-samples#1097)
* Update all generated readme auth instructions [(#1121)](GoogleCloudPlatform/python-docs-samples#1121)
Change-Id: I03b5eaef8b17ac3dc3c0339fd2c7447bd3e11bd2
* Added Link to Python Setup Guide [(#1158)](GoogleCloudPlatform/python-docs-samples#1158)
* Update Readme.rst to add Python setup guide
As requested in b/64770713.
This sample is linked in documentation https://cloud.google.com/bigtable/docs/scaling, and it would make more sense to update the guide here than in the documentation.
* Update README.rst
* Update README.rst
* Update README.rst
* Update README.rst
* Update README.rst
* Update install_deps.tmpl.rst
* Updated readmegen scripts and re-generated related README files
* Fixed the lint error
* Auto-update dependencies. [(#1138)](GoogleCloudPlatform/python-docs-samples#1138)
* Fix a few more lint issues
Change-Id: I0d420f3053f391fa225e4b8179e45fd1138f5c65
* Add Snippet for Listing All Subscriptions in a Project [(#1169)](GoogleCloudPlatform/python-docs-samples#1169)
* Auto-update dependencies. [(#1186)](GoogleCloudPlatform/python-docs-samples#1186)
* Auto-update dependencies. [(#1234)](GoogleCloudPlatform/python-docs-samples#1234)
* Auto-update dependencies.
* Drop pytest-logcapture as it's no longer needed
Change-Id: Ia8b9e8aaf248e9770db6bc4842a4532df8383893
* Auto-update dependencies. [(#1239)](GoogleCloudPlatform/python-docs-samples#1239)
* Added "Open in Cloud Shell" buttons to README files [(#1254)](GoogleCloudPlatform/python-docs-samples#1254)
* Auto-update dependencies. [(#1263)](GoogleCloudPlatform/python-docs-samples#1263)
* Auto-update dependencies. [(#1272)](GoogleCloudPlatform/python-docs-samples#1272)
* Auto-update dependencies.
* Update requirements.txt
* Auto-update dependencies. [(#1282)](GoogleCloudPlatform/python-docs-samples#1282)
* Auto-update dependencies.
* Fix storage acl sample
Change-Id: I413bea899fdde4c4859e4070a9da25845b81f7cf
* Add listen for errors sample. [(#1306)](GoogleCloudPlatform/python-docs-samples#1306)
* Add listen for errors sample.
* Update subscriber.py
* Update subscriber.py
* Fix subscription.open get called twice in the client libraries [(#1321)](GoogleCloudPlatform/python-docs-samples#1321)
* Add tests for creating push subscription. [(#1332)](GoogleCloudPlatform/python-docs-samples#1332)
This is a separate PR from actually adding the sample, which is in GoogleCloudPlatform/python-docs-samples#1331.
* Add create push subscription sample. [(#1331)](GoogleCloudPlatform/python-docs-samples#1331)
* Update API version and body. [(#1326)](GoogleCloudPlatform/python-docs-samples#1326)
The API version should be v1, not v1beta1. Also remove the unnecessary 'data' field from the body and just use 'binary_data'.
* Add sample for updating a subscription. [(#1335)](GoogleCloudPlatform/python-docs-samples#1335)
* Change update_subscription to change endpoint URL. [(#1344)](GoogleCloudPlatform/python-docs-samples#1344)
The documentation specifies that the update subscription commands show how to update an endpoint URL: https://cloud.google.com/pubsub/docs/admin#update_a_subscription.
* Auto-update dependencies. [(#1359)](GoogleCloudPlatform/python-docs-samples#1359)
* Auto-update dependencies. [(#1389)](GoogleCloudPlatform/python-docs-samples#1389)
* Added sample for publishing/receiving messages with custom attributes [(#1409)](GoogleCloudPlatform/python-docs-samples#1409)
* Auto-update dependencies.
* Regenerate the README files and fix the Open in Cloud Shell link for some samples [(#1441)](GoogleCloudPlatform/python-docs-samples#1441)
* Update READMEs to fix numbering and add git clone [(#1464)](GoogleCloudPlatform/python-docs-samples#1464)
* PubSub: adds region tags and updates existing to standard [(#1491)](GoogleCloudPlatform/python-docs-samples#1491)
* Pubsub: Add missing region tag [(#1498)](GoogleCloudPlatform/python-docs-samples#1498)
* Add the Pub/Sub handle_publisher_error sample [(#1440)](GoogleCloudPlatform/python-docs-samples#1440)
* Add the Pub/Sub handle_publisher_error sample
* Update requirements.txt
* Update publisher.py
* Update publisher.py
* Added region tag
* Modified publisher with error handling [(#1568)](GoogleCloudPlatform/python-docs-samples#1568)
* Updated google-cloud-pubsub to version 0.35 [(#1624)](GoogleCloudPlatform/python-docs-samples#1624)
* Updated library version
* Rewrote test for publish with error handler
* Custom _publish function in test prints no 'Attributes'
* Added timeout in error handling [(#1636)](GoogleCloudPlatform/python-docs-samples#1636)
* Auto-update dependencies. [(#1658)](GoogleCloudPlatform/python-docs-samples#1658)
* Auto-update dependencies.
* Rollback appengine/standard/bigquery/.
* Rollback appengine/standard/iap/.
* Rollback bigtable/metricscaler.
* Rolledback appengine/flexible/datastore.
* Rollback dataproc/
* Rollback jobs/api_client
* Rollback vision/cloud-client.
* Rollback functions/ocr/app.
* Rollback iot/api-client/end_to_end_example.
* Rollback storage/cloud-client.
* Rollback kms/api-client.
* Rollback dlp/
* Rollback bigquery/cloud-client.
* Rollback iot/api-client/manager.
* Rollback appengine/flexible/cloudsql_postgresql.
* Added sample for Pub/Sub synchronous pull subscriber [(#1673)](GoogleCloudPlatform/python-docs-samples#1673)
* Added sample for synchronous pull
* Updated variable name [(#1680)](GoogleCloudPlatform/python-docs-samples#1680)
* Fixed return object from `subscriber.subscribe()` [(#1685)](GoogleCloudPlatform/python-docs-samples#1685)
* Pub/Sub: synchronous pull with lease management [(#1701)](GoogleCloudPlatform/python-docs-samples#1701)
* Synchronous pull with lease management
* Updated library version
* Pub/Sub: moved import statements inside region tags [(#1753)](GoogleCloudPlatform/python-docs-samples#1753)
* Moved import stataments inside region tags
* Explained topic and subscription path methods
* Pub/Sub end-to-end sample [(#1800)](GoogleCloudPlatform/python-docs-samples#1800)
* Created new end-to-end sample, moved old sample
* Add space around operator
* Add test for updating a subscription. [(#1336)](GoogleCloudPlatform/python-docs-samples#1336)
Tests for GoogleCloudPlatform/python-docs-samples#1335. Using ack_deadline_seconds as the example.
* Fix update test to use new endpoint [(#1925)](GoogleCloudPlatform/python-docs-samples#1925)
* Fix update test to use new endpoint
* Handle subscription already exists
Previous deletions don't always succeed
* Use a new endpoint for update
* Auto-update dependencies. [(#1980)](GoogleCloudPlatform/python-docs-samples#1980)
* Auto-update dependencies.
* Update requirements.txt
* Update requirements.txt
* Cloud Pub/Sub Quickstart V2 [(#2004)](GoogleCloudPlatform/python-docs-samples#2004)
* Quickstart V2
* Adopts Kir's suggestions
* Adopted Tim's suggestions
* proper resource deletion during teardown
* Pub/Sub: publish with error-handling comments [(#2222)](GoogleCloudPlatform/python-docs-samples#2222)
* Resolve all futures [(#2231)](GoogleCloudPlatform/python-docs-samples#2231)
* Pub/Sub: add publish retry sample [(#2273)](GoogleCloudPlatform/python-docs-samples#2273)
* Publish retry sample
* double to single quotes
* double to single quotes
* license year
* Fix a TODO comment on pubsub/cloud-client/subscriber.py [(#2302)](GoogleCloudPlatform/python-docs-samples#2302)
* Print actual number of messages pulled [(#2078)](GoogleCloudPlatform/python-docs-samples#2078)
* Print actual number of messages pulled
* Pub/Sub: fix subscriber async region tag mistake [(#2334)](GoogleCloudPlatform/python-docs-samples#2334)
* Pub/Sub: update retry settings in sample [(#2395)](GoogleCloudPlatform/python-docs-samples#2395)
* Pub/Sub: improve pub.py [(#2403)](GoogleCloudPlatform/python-docs-samples#2403)
* print number of messages published
* two nit's
* Adds updates for samples profiler ... vision [(#2439)](GoogleCloudPlatform/python-docs-samples#2439)
* Pub/Sub: update how subscriber client listens to StreamingPullFuture [(#2475)](GoogleCloudPlatform/python-docs-samples#2475)
* update sub.py & requirements.txt
* fix flaky subscriber test with separate subscriptions
* Pub/Sub: update how to test with mock [(#2555)](GoogleCloudPlatform/python-docs-samples#2555)
* Update test with mock
* Clean up resources after tests
* Use unique resource names avoid test failures
* Delete subscriptions in cleanup phase
* Ensure unique topic name
* Update assert to remove bytestring notation
* Rewrite PubSubToGCS test using dataflow testing module
* Pub/Sub: remove infinite while loops in subscriber examples [(#2604)](GoogleCloudPlatform/python-docs-samples#2604)
* use result() on streaming pull futures instead of infinite while
* remove unused imports
* Pub/Sub: add timeout in argparse [(#2637)](GoogleCloudPlatform/python-docs-samples#2637)
* Auto-update dependencies. [(#2005)](GoogleCloudPlatform/python-docs-samples#2005)
* Auto-update dependencies.
* Revert update of appengine/flexible/datastore.
* revert update of appengine/flexible/scipy
* revert update of bigquery/bqml
* revert update of bigquery/cloud-client
* revert update of bigquery/datalab-migration
* revert update of bigtable/quickstart
* revert update of compute/api
* revert update of container_registry/container_analysis
* revert update of dataflow/run_template
* revert update of datastore/cloud-ndb
* revert update of dialogflow/cloud-client
* revert update of dlp
* revert update of functions/imagemagick
* revert update of functions/ocr/app
* revert update of healthcare/api-client/fhir
* revert update of iam/api-client
* revert update of iot/api-client/gcs_file_to_device
* revert update of iot/api-client/mqtt_example
* revert update of language/automl
* revert update of run/image-processing
* revert update of vision/automl
* revert update testing/requirements.txt
* revert update of vision/cloud-client/detect
* revert update of vision/cloud-client/product_search
* revert update of jobs/v2/api_client
* revert update of jobs/v3/api_client
* revert update of opencensus
* revert update of translate/cloud-client
* revert update to speech/cloud-client
Co-authored-by: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com>
Co-authored-by: Doug Mahugh <dmahugh@gmail.com>
* remove publish concurrency control sample [(#2960)](GoogleCloudPlatform/python-docs-samples#2960)
* Pub/Sub: remove unreferenced samples [(#2986)](GoogleCloudPlatform/python-docs-samples#2986)
* remove qs samples
* update README
* Pub/Sub: add SubscriberClient.close() to examples [(#3118)](GoogleCloudPlatform/python-docs-samples#3118)
* Add SubscriberClient.close() to examples.
Co-authored-by: Prad Nelluru <pradn@google.com>
Co-authored-by: Prad Nelluru <prad.nelluru@gmail.com>
* Pub/Sub: update publish with batch settings sample [(#3137)](GoogleCloudPlatform/python-docs-samples#3137)
* non-blocking publish
* remove unused lib
* lint
* add defaults
* Simplify noxfile setup. [(#2806)](GoogleCloudPlatform/python-docs-samples#2806)
* chore(deps): update dependency requests to v2.23.0
* Simplify noxfile and add version control.
* Configure appengine/standard to only test Python 2.7.
* Update Kokokro configs to match noxfile.
* Add requirements-test to each folder.
* Remove Py2 versions from everything execept appengine/standard.
* Remove conftest.py.
* Remove appengine/standard/conftest.py
* Remove 'no-sucess-flaky-report' from pytest.ini.
* Add GAE SDK back to appengine/standard tests.
* Fix typo.
* Roll pytest to python 2 version.
* Add a bunch of testing requirements.
* Remove typo.
* Add appengine lib directory back in.
* Add some additional requirements.
* Fix issue with flake8 args.
* Even more requirements.
* Readd appengine conftest.py.
* Add a few more requirements.
* Even more Appengine requirements.
* Add webtest for appengine/standard/mailgun.
* Add some additional requirements.
* Add workaround for issue with mailjet-rest.
* Add responses for appengine/standard/mailjet.
Co-authored-by: Renovate Bot <bot@renovateapp.com>
* chore: remove gcp-devrel-py-tools from iot and pubsub [(#3470)](GoogleCloudPlatform/python-docs-samples#3470)
* [iot] chore: remove unused dependency
* [pubsub] chore: remove gcp-devrel-py-tools
* Update dependency google-cloud-pubsub to v1.4.2 in Storage and Pub/Sub [(#3343)](GoogleCloudPlatform/python-docs-samples#3343)
* chore: some lint fixes [(#3748)](GoogleCloudPlatform/python-docs-samples#3748)
* chore(deps): update dependency google-cloud-pubsub to v1.4.3 [(#3725)](GoogleCloudPlatform/python-docs-samples#3725)
Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
Co-authored-by: Takashi Matsuo <tmatsuo@google.com>
* chore(deps): update dependency google-cloud-pubsub to v1.5.0 [(#3781)](GoogleCloudPlatform/python-docs-samples#3781)
Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
* samples: add Pub/Sub dead letter queue samples [(#3904)](GoogleCloudPlatform/python-docs-samples#3904)
* fix: make timeout an optional positional arg [(#3938)](GoogleCloudPlatform/python-docs-samples#3938)
* fix: make timeout an optional positional arg
* place `none` back in function signature
Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
* fix: replace name with id in samples [(#3953)](GoogleCloudPlatform/python-docs-samples#3953)
* Replace GCLOUD_PROJECT with GOOGLE_CLOUD_PROJECT. [(#4022)](GoogleCloudPlatform/python-docs-samples#4022)
* nit: remove redundant/wrong Pub/Sub region tag [(#4027)](GoogleCloudPlatform/python-docs-samples#4027)
* Pub/Sub: wrap subscriber in a with block and add comments [(#4070)](GoogleCloudPlatform/python-docs-samples#4070)
Use a `with` block to wrap subscriber and describe its purpose. Internal bug: b/157401623
* Update dependency google-cloud-pubsub to v1.6.0 [(#4039)](GoogleCloudPlatform/python-docs-samples#4039)
This PR contains the following updates:
| Package | Update | Change |
|---|---|---|
| [google-cloud-pubsub](https://togithub.com/googleapis/python-pubsub) | minor | `==1.5.0` -> `==1.6.0` |
---
### Release Notes
<details>
<summary>googleapis/python-pubsub</summary>
### [`v1.6.0`](https://togithub.com/googleapis/python-pubsub/blob/master/CHANGELOG.md#&#8203;160-httpswwwgithubcomgoogleapispython-pubsubcomparev150v160-2020-06-09)
[Compare Source](https://togithub.com/googleapis/python-pubsub/compare/v1.5.0...v1.6.0)
##### Features
- Add flow control for message publishing ([#&#8203;96](https://www.github.com/googleapis/python-pubsub/issues/96)) ([06085c4](https://www.github.com/googleapis/python-pubsub/commit/06085c4083b9dccdd50383257799904510bbf3a0))
##### Bug Fixes
- Fix PubSub incompatibility with api-core 1.17.0+ ([#&#8203;103](https://www.github.com/googleapis/python-pubsub/issues/103)) ([c02060f](https://www.github.com/googleapis/python-pubsub/commit/c02060fbbe6e2ca4664bee08d2de10665d41dc0b))
##### Documentation
- Clarify that Schedulers shouldn't be used with multiple SubscriberClients ([#&#8203;100](https://togithub.com/googleapis/python-pubsub/pull/100)) ([cf9e87c](https://togithub.com/googleapis/python-pubsub/commit/cf9e87c80c0771f3fa6ef784a8d76cb760ad37ef))
- Fix update subscription/snapshot/topic samples ([#&#8203;113](https://togithub.com/googleapis/python-pubsub/pull/113)) ([e62c38b](https://togithub.com/googleapis/python-pubsub/commit/e62c38bb33de2434e32f866979de769382dea34a))
##### Internal / Testing Changes
- Re-generated service implementaton using synth: removed experimental notes from the RetryPolicy and filtering features in anticipation of GA, added DetachSubscription (experimental) ([#&#8203;114](https://togithub.com/googleapis/python-pubsub/pull/114)) ([0132a46](https://togithub.com/googleapis/python-pubsub/commit/0132a4680e0727ce45d5e27d98ffc9f3541a0962))
- Incorporate will_accept() checks into publish() ([#&#8203;108](https://togithub.com/googleapis/python-pubsub/pull/108)) ([6c7677e](https://togithub.com/googleapis/python-pubsub/commit/6c7677ecb259672bbb9b6f7646919e602c698570))
</details>
---
### Renovate configuration
:date: **Schedule**: At any time (no schedule defined).
:vertical_traffic_light: **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
:recycle: **Rebasing**: Never, or you tick the rebase/retry checkbox.
:no_bell: **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#GoogleCloudPlatform/python-docs-samples).
* chore: update templates
Co-authored-by: Jon Wayne Parrott <jonwayne@google.com>
Co-authored-by: DPE bot <dpebot@google.com>
Co-authored-by: Jason Dobry <jmdobry@users.noreply.github.com>
Co-authored-by: Bill Prin <waprin@gmail.com>
Co-authored-by: michaelawyu <chenyumic@google.com>
Co-authored-by: noerog <32459203+noerog@users.noreply.github.com>
Co-authored-by: L J <luxiangu@users.noreply.github.com>
Co-authored-by: Frank Natividad <frankyn@users.noreply.github.com>
Co-authored-by: Alix Hamilton <ajhamilton@google.com>
Co-authored-by: michaelawyu <michael.a.w.yu@hotmail.com>
Co-authored-by: Tianzi Cai <tianzih@outlook.com>
Co-authored-by: Charles Engelke <github@engelke.com>
Co-authored-by: Tianzi Cai <anguillanneuf@gmail.com>
Co-authored-by: Keiji Yoshida <keijiy@google.com>
Co-authored-by: oli <oliver.coad@gmail.com>
Co-authored-by: Gus Class <gguuss@gmail.com>
Co-authored-by: Kurtis Van Gent <31518063+kurtisvg@users.noreply.github.com>
Co-authored-by: Doug Mahugh <dmahugh@gmail.com>
Co-authored-by: Prad Nelluru <pradn@google.com>
Co-authored-by: Prad Nelluru <prad.nelluru@gmail.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Takashi Matsuo <tmatsuo@google.com>
Co-authored-by: Bu Sun Kim <8822365+busunkim96@users.noreply.github.com>
parthea pushed a commit that referenced this pull request Mar 6, 2026
* feat: adds date_format to load job and external config
* adds date_format to new to/from_api_repr tests
parthea pushed a commit that referenced this pull request Apr 1, 2026
parthea pushed a commit that referenced this pull request Apr 1, 2026
PR created by the Librarian CLI to initialize a release. Merging this PR
will auto trigger a release.
Librarian Version: v0.7.0
Language Image:
us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:c8612d3fffb3f6a32353b2d1abd16b61e87811866f7ec9d65b59b02eb452a620
<details><summary>bigframes: 2.30.0</summary>
##
[2.30.0](google/bigframes@v2.29.0...v2.30.0)
(2025-12-03)
### Features
* Support mixed scalar-analytic expressions (#2239)
([20ab469d](google/bigframes@20ab469d))
* Allow drop_duplicates over unordered dataframe (#2303)
([52665fa5](google/bigframes@52665fa5))
* Preserve source names better for more readable sql (#2243)
([64995d65](google/bigframes@64995d65))
* use end user credentials for `bigframes.bigquery.ai` functions when
`connection_id` is not present (#2272)
([7c062a68](google/bigframes@7c062a68))
* pivot_table supports fill_value arg (#2257)
([8f490e68](google/bigframes@8f490e68))
* Support builtins funcs for df.agg (#2256)
([956a5b00](google/bigframes@956a5b00))
* add bigquery.json_keys (#2286)
([b487cf1f](google/bigframes@b487cf1f))
* Add agg/aggregate methods to windows (#2288)
([c4cb39dc](google/bigframes@c4cb39dc))
* Add bigframes.pandas.crosstab (#2231)
([c62e5535](google/bigframes@c62e5535))
* Implement single-column sorting for interactive table widget (#2255)
([d1ecc61b](google/bigframes@d1ecc61b))
### Bug Fixes
* Pass credentials properly for read api instantiation (#2280)
([3e3fe259](google/bigframes@3e3fe259))
* Update max_instances default to reflect actual value (#2302)
([4489687e](google/bigframes@4489687e))
* Improve Anywidget pagination and display for unknown row counts
(#2258)
([508deae5](google/bigframes@508deae5))
* Fix issue with stream upload batch size upload limit (#2290)
([6cdf64b0](google/bigframes@6cdf64b0))
* calling info() on empty dataframes no longer leads to errors (#2267)
([95a83f77](google/bigframes@95a83f77))
* do not warn with DefaultIndexWarning in partial ordering mode (#2230)
([cc2dbae6](google/bigframes@cc2dbae6))
### Documentation
* update docs and tests for Gemini 2.5 models (#2279)
([08c0c0c8](google/bigframes@08c0c0c8))
* Add Google Analytics configuration to conf.py (#2301)
([0b266da1](google/bigframes@0b266da1))
* fix LogisticRegression docs rendering (#2295)
([32e53134](google/bigframes@32e53134))
* update API reference to new `dataframes.bigquery.dev` location (#2293)
([da064397](google/bigframes@da064397))
* use autosummary to split documentation pages (#2251)
([f7fd2d20](google/bigframes@f7fd2d20))
</details>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yesThis human has signed the Contributor License Agreement.do not mergeIndicates a pull request not ready for merge, due to either quality or timing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Usage of leading underscores

3 participants

@dhermes@tseaver@googlebot