flip_api.fl_services.get_quiesce_status

Attributes

router

Functions

get_quiesce_status(, user_id)

Report whether the platform is quiesced for a Central Hub redeploy.

Module Contents

flip_api.fl_services.get_quiesce_status.router
flip_api.fl_services.get_quiesce_status.get_quiesce_status(db: sqlmodel.Session = Depends(get_session), user_id: uuid.UUID = Depends(verify_token)) flip_api.domain.interfaces.fl.IQuiesceStatus

Report whether the platform is quiesced for a Central Hub redeploy.

An ECS replacement kills an in-flight training run, so the safe-redeploy condition is deployment mode enabled AND no net’s scheduler BUSY (FLIP#770). make deploy-centralhub prints a reminder pointing operators at this endpoint to verify both before deploying.

Parameters:
  • db (Session) – Database session.

  • user_id (UUID) – ID of the authenticated user.

Returns:

Deployment-mode flag, overall quiesce state, and per-net scheduler status.

Return type:

IQuiesceStatus