florist.api.server module¶ FLorist server FastAPI endpoints and routes. lifespan(app)[source]¶ Set up function for app startup and shutdown. Return type: AsyncGenerator[Any, Any] list_clients()[source]¶ Return a list of all available clients. Return type: JSONResponse Returns: (JSONResponse) A JSON response with a list of all elements in the api.clients.common.Client enum. list_models()[source]¶ Return a list of all available models. Return type: JSONResponse Returns: (JSONResponse) A JSON response with a list of all elements in the api.servers.common.Model enum.