We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90ff4d1 commit addf465Copy full SHA for addf465
openfisca_core/entities/entity.py
@@ -6,6 +6,7 @@
6
from openfisca_core.types import Descriptable, Representable
7
from openfisca_core.variables import Variable
8
9
+from .. import entities
10
from ._descriptors import VariableDescriptor
11
12
@@ -115,9 +116,7 @@ def check_role_validity(role: Any) -> None:
115
116
117
"""
118
- from .helpers import check_role_validity
119
-
120
- return check_role_validity(role)
+ return entities.check_role_validity(role)
121
122
@commons.deprecated(since = "35.5.0", expires = "the future")
123
def get_variable(self, variable_name: str, check_existence: bool = False) -> Optional[Variable]:
0 commit comments