Skip to content

Commit

Permalink
Remove the pg.schema alias for pg.members.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 505884656
  • Loading branch information
daiyip authored and pyglove authors committed Jan 31, 2023
1 parent 559c405 commit e25dbd9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions pyglove/core/symbolic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,4 @@
from pyglove.core.symbolic.schema_utils import formalize_schema
from pyglove.core.symbolic.base import _TYPE_NAME_KEY


# For backward compatibility.
schema = members

# pylint: enable=g-bad-import-order
5 changes: 0 additions & 5 deletions pyglove/core/symbolic/object.py
Original file line number Diff line number Diff line change
Expand Up @@ -750,8 +750,3 @@ def _decorator(cls):
additional_keys=additional_keys)
return cls
return typing.cast(pg_typing.Decorator, _decorator)


# Create an alias method for members.
schema = members

0 comments on commit e25dbd9

Please sign in to comment.