Skip to content

server

GRPC_SERVER_PORT module-attribute

GRPC_SERVER_PORT = 45000

LOGGER module-attribute

LOGGER = logging.getLogger(__name__)

ModzyModel

ModzyModel()

model instance-attribute

model: Optional[ModelRunner] = None

metadata instance-attribute

metadata = sr

Status async

Status(stream)

Run async

Run(stream)

Shutdown async

Shutdown(stream)

log_stack_trace

log_stack_trace()

create_output_item

create_output_item(message, data=None)

get_server_port

get_server_port()

serve async

serve()