Refactor field_typing/__init__.py
This commit is contained in:
parent
7cfd5171d7
commit
852afdc8a2
1 changed files with 2 additions and 1 deletions
|
|
@ -40,7 +40,8 @@ def __getattr__(name: str) -> Any:
|
|||
elif name == "RangeSpec":
|
||||
return RangeSpec
|
||||
# The other names should work as if they were imported from constants
|
||||
import langflow.field_typing.constants as constants
|
||||
# Import the constants module langflow.field_typing.constants
|
||||
from . import constants
|
||||
|
||||
return getattr(constants, name)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue