Make sure Structure doesn't have a name that is an empty string

PiperOrigin-RevId: 802558849
Change-Id: Ic469eec11e92d14df339d3a3d9205f144dd005fc
This commit is contained in:
Augustin Zidek
2025-09-03 08:09:37 -07:00
committed by Copybara-Service
parent 0ea324ce74
commit 4208665547

View File

@ -308,7 +308,7 @@ class Structure(table.Database):
# b/345221494 Rename this variable when structure_v1 compatibility code
# is removed.
self._VERSION = '2.0.0' # pylint: disable=invalid-name
self._name = name
self._name = name or 'unset'
self._release_date = release_date
self._resolution = resolution
self._structure_method = structure_method