mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-01-10 06:10:50 +08:00
- Run comfyui workflows directly inside other python applications using EmbeddedComfyClient. - Optional telemetry in prompts and models using anonymity preserving Plausible self-hosted or hosted. - Better OpenAPI schema - Basic support for distributed ComfyUI backends. Limitations: no progress reporting, no easy way to start your own distributed backend, requires RabbitMQ as a message broker.
29 lines
875 B
Python
29 lines
875 B
Python
# coding: utf-8
|
|
"""
|
|
comfyui
|
|
No description provided (generated by Openapi JSON Schema Generator https://github.com/openapi-json-schema-tools/openapi-json-schema-generator) # noqa: E501
|
|
The version of the OpenAPI document: 0.0.1
|
|
Generated by: https://github.com/openapi-json-schema-tools/openapi-json-schema-generator
|
|
"""
|
|
|
|
import dataclasses
|
|
import typing
|
|
|
|
import urllib3
|
|
|
|
from comfy.api import schemas
|
|
|
|
|
|
@dataclasses.dataclass(frozen=True)
|
|
class ApiResponse:
|
|
response: urllib3.HTTPResponse
|
|
body: typing.Union[schemas.Unset, schemas.OUTPUT_BASE_TYPES]
|
|
headers: typing.Union[schemas.Unset, typing.Mapping[str, schemas.OUTPUT_BASE_TYPES]]
|
|
|
|
|
|
@dataclasses.dataclass(frozen=True)
|
|
class ApiResponseWithoutDeserialization(ApiResponse):
|
|
response: urllib3.HTTPResponse
|
|
body: schemas.Unset = schemas.unset
|
|
headers: schemas.Unset = schemas.unset
|