prefect.runner.server
¶
build_server
async
¶
Build a FastAPI server for a runner.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
runner |
Runner
|
the runner this server interacts with and monitors |
required |
log_level |
str
|
the log level to use for the server |
required |
Source code in prefect/runner/server.py
245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 |
|
get_subflow_schemas
async
¶
Load available subflow schemas by filtering for only those subflows in the deployment entrypoint's import space.
Source code in prefect/runner/server.py
149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 |
|
start_webserver
¶
Run a FastAPI server for a runner.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
runner |
Runner
|
the runner this server interacts with and monitors |
required |
log_level |
str
|
the log level to use for the server |
None
|
Source code in prefect/runner/server.py
291 292 293 294 295 296 297 298 299 300 301 302 303 |
|