googleapis / python-bigtable

Apache License 2.0
68 stars 58 forks source link

fix ping_and_warm metadata #1003

Open daniel-sanche opened 4 months ago

daniel-sanche commented 4 months ago

ping_and_warm sets its own metadata manually. The app_profile_id field here could be None.

In other places in the code, the _make_metadata helper is used to create metadata, and app_profile_id is only populated when the field has a value

We should update ping_and_warm to use _make_metadata, so all metadata is populated consistently