prefect.server.api.variables
Routes for interacting with variable objects
get_variable_by_name_or_404(session, name)
async
Returns a variable or raises 404 HTTPException if it does not exist
Source code in src/prefect/server/api/variables.py
31 32 33 34 35 36 37 38 |
|
get_variable_or_404(session, variable_id)
async
Returns a variable or raises 404 HTTPException if it does not exist
Source code in src/prefect/server/api/variables.py
19 20 21 22 23 24 25 26 27 28 |
|