We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac790ac commit d67cb7dCopy full SHA for d67cb7d
unstructured_platform_plugins/etl_uvicorn/api_generator.py
@@ -186,7 +186,7 @@ async def run_job(request: input_schema_model) -> ResponseType:
186
request_dict = {f: getattr(request, f) for f in request.model_fields}
187
# Map FileData back to original dataclass if present
188
if "file_data" in request_dict:
189
- request_dict["file_data"] = FileData.from_dict(
+ request_dict["file_data"] = FileData.model_validate(
190
request_dict["file_data"].model_dump()
191
)
192
map_inputs(func=func, raw_inputs=request_dict)
0 commit comments