You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I have tried to reimplement one of NannyML examples in Kaggle. and When I used the import command I got the following error.
import nannyml as nml
from IPython.display import display
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots & scripts
If applicable, add screenshots or code snippets to help explain your problem.
Additional context
TypeError Traceback (most recent call last)
/tmp/ipykernel_28/3486783819.py in
----> 1 import nannyml as nml
2 from IPython.display import display
/opt/conda/lib/python3.7/site-packages/nannyml/init.py in
49 from .drift import AlertCountRanker, CorrelationRanker, DataReconstructionDriftCalculator, UnivariateDriftCalculator
50 from .exceptions import ChunkerException, InvalidArgumentsException, MissingMetadataException
---> 51 from .io import DatabaseWriter, PickleFileWriter, RawFilesWriter
52 from .performance_calculation import PerformanceCalculator
53 from .performance_estimation import CBPE, DLE
/opt/conda/lib/python3.7/site-packages/nannyml/io/init.py in
4
5 from .base import Reader, Writer, WriterFactory
----> 6 from .db import DatabaseWriter
7 from .file_reader import FileReader
8 from .file_writer import FileWriter
/opt/conda/lib/python3.7/site-packages/nannyml/io/db/init.py in
3 # License: Apache Software License 2.0
4
----> 5 from .database_writer import DatabaseWriter
/opt/conda/lib/python3.7/site-packages/nannyml/io/db/database_writer.py in
1 from typing import Any, Dict, Optional
2
----> 3 from sqlmodel import Session, SQLModel, create_engine, select
4
5 from nannyml._typing import Result
/opt/conda/lib/python3.7/site-packages/sqlmodel/init.py in
135
136 # Export SQLModel specifics (equivalent to Pydantic)
--> 137 from .main import SQLModel as SQLModel
138 from .main import Field as Field
139 from .main import Relationship as Relationship
/opt/conda/lib/python3.7/site-packages/sqlmodel/main.py in
24 )
25
---> 26 from pydantic import BaseConfig, BaseModel
27 from pydantic.errors import ConfigError, DictError
28 from pydantic.fields import SHAPE_SINGLETON
/opt/conda/lib/python3.7/site-packages/pydantic/init.cpython-37m-x86_64-linux-gnu.so in init pydantic.init()
/opt/conda/lib/python3.7/site-packages/pydantic/dataclasses.cpython-37m-x86_64-linux-gnu.so in init pydantic.dataclasses()
/opt/conda/lib/python3.7/site-packages/pydantic/main.cpython-37m-x86_64-linux-gnu.so in init pydantic.main()
TypeError: dataclass_transform() got an unexpected keyword argument 'field_specifiers'
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Describe the bug
I have tried to reimplement one of NannyML examples in Kaggle. and When I used the import command I got the following error.
import nannyml as nml
from IPython.display import display
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots & scripts
If applicable, add screenshots or code snippets to help explain your problem.
Additional context
TypeError Traceback (most recent call last)
/tmp/ipykernel_28/3486783819.py in
----> 1 import nannyml as nml
2 from IPython.display import display
/opt/conda/lib/python3.7/site-packages/nannyml/init.py in
49 from .drift import AlertCountRanker, CorrelationRanker, DataReconstructionDriftCalculator, UnivariateDriftCalculator
50 from .exceptions import ChunkerException, InvalidArgumentsException, MissingMetadataException
---> 51 from .io import DatabaseWriter, PickleFileWriter, RawFilesWriter
52 from .performance_calculation import PerformanceCalculator
53 from .performance_estimation import CBPE, DLE
/opt/conda/lib/python3.7/site-packages/nannyml/io/init.py in
4
5 from .base import Reader, Writer, WriterFactory
----> 6 from .db import DatabaseWriter
7 from .file_reader import FileReader
8 from .file_writer import FileWriter
/opt/conda/lib/python3.7/site-packages/nannyml/io/db/init.py in
3 # License: Apache Software License 2.0
4
----> 5 from .database_writer import DatabaseWriter
/opt/conda/lib/python3.7/site-packages/nannyml/io/db/database_writer.py in
1 from typing import Any, Dict, Optional
2
----> 3 from sqlmodel import Session, SQLModel, create_engine, select
4
5 from nannyml._typing import Result
/opt/conda/lib/python3.7/site-packages/sqlmodel/init.py in
135
136 # Export SQLModel specifics (equivalent to Pydantic)
--> 137 from .main import SQLModel as SQLModel
138 from .main import Field as Field
139 from .main import Relationship as Relationship
/opt/conda/lib/python3.7/site-packages/sqlmodel/main.py in
24 )
25
---> 26 from pydantic import BaseConfig, BaseModel
27 from pydantic.errors import ConfigError, DictError
28 from pydantic.fields import SHAPE_SINGLETON
/opt/conda/lib/python3.7/site-packages/pydantic/init.cpython-37m-x86_64-linux-gnu.so in init pydantic.init()
/opt/conda/lib/python3.7/site-packages/pydantic/dataclasses.cpython-37m-x86_64-linux-gnu.so in init pydantic.dataclasses()
/opt/conda/lib/python3.7/site-packages/pydantic/main.cpython-37m-x86_64-linux-gnu.so in init pydantic.main()
TypeError: dataclass_transform() got an unexpected keyword argument 'field_specifiers'
The text was updated successfully, but these errors were encountered: