Skip to content

Commit f254165

Browse files
committed
don't inclue message channels in input schema
1 parent 90349ac commit f254165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

unstructured_platform_plugins/etl_uvicorn/api_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ class InvokeResponse(BaseModel):
142142
output: Optional[response_type] = None
143143
message_channels: MessageChannels = Field(default_factory=MessageChannels)
144144

145-
input_schema = get_input_schema(func, omit=["usage", "filedata_meta"])
145+
input_schema = get_input_schema(func, omit=["usage", "filedata_meta", "message_channels"])
146146
input_schema_model = schema_to_base_model(input_schema)
147147

148148
logging.getLogger("etl_uvicorn.fastapi")

0 commit comments

Comments
 (0)