Traceback (most recent call last):
File "XXX/bigtable_regex_error.py", line 5, in <module>
instance.table('_locks_').list_backups()
File "XXX/venv/lib/python3.11/site-packages/google/cloud/bigtable/table.py", line 1000, in list_backups
result.append(Backup.from_pb(backup_pb, self._instance))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "XXX/venv/lib/python3.11/site-packages/google/cloud/bigtable/backup.py", line 253, in from_pb
raise ValueError(
ValueError: ('Backup protobuf name was not in the expected format.', 'projects/XXXX/instances/XXXX/clusters/XXXX/backups/_locks_-backup-20240527-0700')
The regular expression used in backup.py does not match the format specified in the Bigtable Admin API.
Environment details
google-cloud-bigtable
version: 2.22.0Steps to reproduce
Code example
Stack trace