Skip to content

Commit

Permalink
Retire pg.Object.schema and pg.Object.type_name.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 707739906
  • Loading branch information
daiyip authored and copybara-github committed Dec 20, 2024
1 parent 1985bd9 commit 7f28c08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vizier/_src/pyglove/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ def format(
**kwargs,
):
# Return summary.
status_field = pg.tuning.Trial.schema.get_field('status')
status_field = pg.tuning.Trial.__schema__.get_field('status')
assert status_field is not None
possible_status = set(
typing.cast(pg.typing.Enum, status_field.value).values
Expand Down

0 comments on commit 7f28c08

Please sign in to comment.