Skip to content

Commit 0429117

Browse files
daiyipcopybara-github
authored andcommitted
Retire pg.Object.schema and pg.Object.type_name.
PiperOrigin-RevId: 708384259
1 parent 1985bd9 commit 0429117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vizier/_src/pyglove/core.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -359,7 +359,7 @@ def format(
359359
**kwargs,
360360
):
361361
# Return summary.
362-
status_field = pg.tuning.Trial.schema.get_field('status')
362+
status_field = pg.tuning.Trial.__schema__.get_field('status')
363363
assert status_field is not None
364364
possible_status = set(
365365
typing.cast(pg.typing.Enum, status_field.value).values

0 commit comments

Comments
 (0)