jose neto

05/03/2023, 12:33 PM
Hi, I have restarted my dagster instance on AWS, and I am getting the error: AttributeError: 'FieldInfo' object has no attribute 'discriminator' I haven't update any python version or dagster. Any ideas on what could be happening? Full error in the comments
:dagster-bot-resolve: 1
docker run dagster_etl Traceback (most recent call last): File "/usr/local/bin/dagster", line 5, in <module> from dagster.cli import main File "/usr/local/lib/python3.10/site-packages/dagster/", line 458, in <module> from import ( File "/usr/local/lib/python3.10/site-packages/dagster/_core/storage/", line 129, in <module> config_schema=FilesystemIOManager.to_config_schema(), File "/usr/local/lib/python3.10/site-packages/dagster/_config/pythonic_config/", line 237, in to_config_schema return DefinitionConfigSchema(infer_schema_from_config_class(cls)) File "/usr/local/lib/python3.10/site-packages/dagster/_config/pythonic_config/", line 1496, in infer_schema_from_config_class fields[pydantic_field.alias] = _convert_pydantic_field( File "/usr/local/lib/python3.10/site-packages/dagster/_config/pythonic_config/", line 1242, in _convert_pydantic_field if pydantic_field.field_info.discriminator: AttributeError: 'FieldInfo' object has no attribute 'discriminator'
Solved my issue by downgrading dagster version. Theres probably something broken in the newest one