Skip to content

Commit addf465

Browse files
author
Mauko Quiroga
committed
Fix wrong placed import
1 parent 90ff4d1 commit addf465

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

openfisca_core/entities/entity.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from openfisca_core.types import Descriptable, Representable
77
from openfisca_core.variables import Variable
88

9+
from .. import entities
910
from ._descriptors import VariableDescriptor
1011

1112

@@ -115,9 +116,7 @@ def check_role_validity(role: Any) -> None:
115116
116117
"""
117118

118-
from .helpers import check_role_validity
119-
120-
return check_role_validity(role)
119+
return entities.check_role_validity(role)
121120

122121
@commons.deprecated(since = "35.5.0", expires = "the future")
123122
def get_variable(self, variable_name: str, check_existence: bool = False) -> Optional[Variable]:

0 commit comments

Comments
 (0)