config = self._target_schema.parse_obj(json_data)
File "pydantic\main.py", line 526, in pydantic.main.BaseModel.parse_obj
File "pydantic\main.py", line 341, in pydantic.main.BaseModel.init
pydantic.error_wrappers.ValidationError: 1 validation error for PlotConfig
x -> time_unit
value is not a valid enumeration member; permitted: 'year', 'month', 'week', 'quarter', 'day' (type=type_error.enum; enum_values=[<TimeUnit.YEAR: 'year'>, <TimeUnit.MONTH: 'month'>, <TimeUnit.WEEK: 'week'>, <TimeUnit.QUARTER: 'quarter'>, <TimeUnit.DAY: 'day'>])
This is the error I'm getting when I install chat2plot library. Please help with resolving the issue.
config = self._target_schema.parse_obj(json_data) File "pydantic\main.py", line 526, in pydantic.main.BaseModel.parse_obj File "pydantic\main.py", line 341, in pydantic.main.BaseModel.init pydantic.error_wrappers.ValidationError: 1 validation error for PlotConfig x -> time_unit value is not a valid enumeration member; permitted: 'year', 'month', 'week', 'quarter', 'day' (type=type_error.enum; enum_values=[<TimeUnit.YEAR: 'year'>, <TimeUnit.MONTH: 'month'>, <TimeUnit.WEEK: 'week'>, <TimeUnit.QUARTER: 'quarter'>, <TimeUnit.DAY: 'day'>])
This is the error I'm getting when I install chat2plot library. Please help with resolving the issue.