script deploy & run are not available (#3305)
This commit is contained in:
@@ -170,6 +170,7 @@ async def deploy_script(
|
|||||||
script_id=script_id,
|
script_id=script_id,
|
||||||
file_count=len(data.files) if data.files else 0,
|
file_count=len(data.files) if data.files else 0,
|
||||||
)
|
)
|
||||||
|
raise HTTPException(status_code=400, detail="Not implemented")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
# Get the latest version of the script
|
# Get the latest version of the script
|
||||||
@@ -258,6 +259,7 @@ async def run_script(
|
|||||||
current_org: Organization = Depends(org_auth_service.get_current_org),
|
current_org: Organization = Depends(org_auth_service.get_current_org),
|
||||||
) -> None:
|
) -> None:
|
||||||
"""Run a script."""
|
"""Run a script."""
|
||||||
|
raise HTTPException(status_code=400, detail="Not implemented")
|
||||||
# await script_service.execute_script(
|
# await script_service.execute_script(
|
||||||
# script_id=script_id,
|
# script_id=script_id,
|
||||||
# organization_id=current_org.organization_id,
|
# organization_id=current_org.organization_id,
|
||||||
|
|||||||
Reference in New Issue
Block a user