chat2plot icon indicating copy to clipboard operation
chat2plot copied to clipboard

chat2plot.py", line 237, in _parse_response config = self._target_schema.parse_obj(json_data)

Open kishoreganth opened this issue 1 year ago • 0 comments

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.

kishoreganth avatar Feb 18 '24 12:02 kishoreganth