flip_api.domain.schemas.status
Classes
Status of the bucket. |
|
Action to be taken on the bucket. |
|
Response for client deployment. |
|
Status of the client. |
|
Status of the job. |
|
Status of the model. |
|
Status of the net. |
|
Targets for FL backend. |
|
Status of the file upload. |
|
Tag for the file upload. |
|
Status of the FL. |
|
Status of the project. |
|
Status of the server engine. |
|
Status of the trust intersect. |
|
Status of a trust task in the task queue. |
|
Type of task dispatched to a trust. |
|
Status of the XNAT imaging project. |
|
Normalized FL-backend job lifecycle status. |
Module Contents
- class flip_api.domain.schemas.status.BucketStatus(*args, **kwds)[source]
Bases:
enum.EnumStatus of the bucket.
- CLEAN = 'clean'
- INFECTED = 'infected'
- NO = 'no'
- class flip_api.domain.schemas.status.BucketAction(*args, **kwds)[source]
Bases:
enum.EnumAction to be taken on the bucket.
- DELETE = 'delete'
- TAG = 'tag'
- NO = 'no'
- class flip_api.domain.schemas.status.ClientDeployResponse[source]
Bases:
str,enum.EnumResponse for client deployment.
- OK = 'OK'
- class flip_api.domain.schemas.status.ClientStatus[source]
Bases:
str,enum.EnumStatus of the client.
- NO_REPLY = 'no_reply'
- NO_JOBS = 'no_jobs'
- CONNECTED = 'CONNECTED'
- DISCONNECTED = 'DISCONNECTED'
- class flip_api.domain.schemas.status.JobStatus(*args, **kwds)[source]
Bases:
enum.EnumStatus of the job.
- QUEUED = 'QUEUED'
- IN_PROGRESS = 'IN_PROGRESS'
- COMPLETED = 'COMPLETED'
- DELETED = 'DELETED'
- class flip_api.domain.schemas.status.ModelStatus(*args, **kwds)[source]
Bases:
enum.EnumStatus of the model.
- ERROR = 'ERROR'
- STOPPED = 'STOPPED'
- PENDING = 'PENDING'
- INITIATED = 'INITIATED'
- PREPARED = 'PREPARED'
- TRAINING_STARTED = 'TRAINING_STARTED'
- RESULTS_UPLOADED = 'RESULTS_UPLOADED'
- class flip_api.domain.schemas.status.NetStatus(*args, **kwds)[source]
Bases:
enum.EnumStatus of the net.
- AVAILABLE = 'AVAILABLE'
- BUSY = 'BUSY'
- class flip_api.domain.schemas.status.FLTargets[source]
Bases:
str,enum.EnumTargets for FL backend.
- SERVER = 'server'
- CLIENT = 'client'
- ALL = 'all'
- class flip_api.domain.schemas.status.FileUploadStatus(*args, **kwds)[source]
Bases:
enum.EnumStatus of the file upload.
- SCANNING = 'SCANNING'
- COMPLETED = 'COMPLETED'
- ERROR = 'ERROR'
- class flip_api.domain.schemas.status.FileUploadTag(*args, **kwds)[source]
Bases:
enum.EnumTag for the file upload.
- MODEL = 'MODEL'
- DATA_OPENER = 'DATA_OPENER'
- OBJECTIVE_TARGET = 'OBJECTIVE_TARGET'
- class flip_api.domain.schemas.status.FLStatus[source]
Bases:
str,enum.EnumStatus of the FL.
- SUCCESS = 'SUCCESS'
- PARTIAL_SUCCESS = 'PARTIAL_SUCCESS'
- ERROR_RUNTIME = 'ERROR_RUNTIME'
- ERROR_SYNTAX = 'ERROR_SYNTAX'
- ERROR_AUTHENTICATION = 'ERROR_AUTHENTICATION'
- class flip_api.domain.schemas.status.ProjectStatus[source]
Bases:
str,enum.EnumStatus of the project.
- UNSTAGED = 'UNSTAGED'
- STAGED = 'STAGED'
- APPROVED = 'APPROVED'
- class flip_api.domain.schemas.status.ServerEngineStatus[source]
Bases:
str,enum.EnumStatus of the server engine.
- STARTED = 'started'
- STOPPED = 'stopped'
- STARTING = 'starting'
- NOT_STARTED = 'not started'
- SHUTDOWN = 'shutdown'
- class flip_api.domain.schemas.status.TrustIntersectStatus[source]
Bases:
str,enum.EnumStatus of the trust intersect.
- PENDING = 'PENDING'
- REQUEST_SENT = 'REQUEST_SENT'
- INITIALISED = 'INITIALISED'
- class flip_api.domain.schemas.status.TaskStatus[source]
Bases:
str,enum.EnumStatus of a trust task in the task queue.
- PENDING = 'PENDING'
- IN_PROGRESS = 'IN_PROGRESS'
- COMPLETED = 'COMPLETED'
- FAILED = 'FAILED'
- class flip_api.domain.schemas.status.TaskType[source]
Bases:
str,enum.EnumType of task dispatched to a trust.
- COHORT_QUERY = 'cohort_query'
- CREATE_IMAGING = 'create_imaging'
- DELETE_IMAGING = 'delete_imaging'
- GET_IMAGING_STATUS = 'get_imaging_status'
- REIMPORT_STUDIES = 'reimport_studies'
- UPDATE_USER_PROFILE = 'update_user_profile'
- class flip_api.domain.schemas.status.XNATImageStatus[source]
Bases:
str,enum.EnumStatus of the XNAT imaging project.
- RETRIEVE_STARTED = 'RETRIEVE_STARTED'
- RETRIEVE_COMPLETED = 'RETRIEVE_COMPLETED'
- RETRIEVE_IN_PROGRESS = 'RETRIEVE_IN_PROGRESS'
- RETRIEVE_ERROR = 'RETRIEVE_ERROR'
- CREATED = 'CREATED'
- DELETED = 'DELETED'
- class flip_api.domain.schemas.status.FLJobStatus[source]
Bases:
enum.StrEnumNormalized FL-backend job lifecycle status.
The shared job-metadata contract (GitHub issue #490): every FL-API adapter (fl-api-flower, fl-api-base) maps its native runtime status into one of these values, and flip-api consumes only these. Distinct from
JobStatusabove, which tracks the FL scheduler queue state.- PENDING = 'PENDING'
- RUNNING = 'RUNNING'
- FINISHED = 'FINISHED'
- FAILED = 'FAILED'
- STOPPED = 'STOPPED'