diff --git a/pyglove/core/symbolic/__init__.py b/pyglove/core/symbolic/__init__.py index daef467..17c1898 100644 --- a/pyglove/core/symbolic/__init__.py +++ b/pyglove/core/symbolic/__init__.py @@ -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 diff --git a/pyglove/core/symbolic/object.py b/pyglove/core/symbolic/object.py index 90decad..21473b6 100644 --- a/pyglove/core/symbolic/object.py +++ b/pyglove/core/symbolic/object.py @@ -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 -