flip.schemas ============ .. py:module:: flip.schemas .. autoapi-nested-parse:: Request schemas for the payloads the flip package POSTs to the Central Hub. These mirror the Pydantic models the hub validates against (flip-api ``domain/schemas/private.py``). They are separate codebases, so the two definitions must be kept in sync — the snake_case field names below are the on-the-wire contract for the ``/model/{id}/metrics`` and ``/model/{id}/logs`` internal endpoints. Attributes ---------- .. autoapisummary:: flip.schemas.DEFAULT_X_AXIS_LABEL Classes ------- .. autoapisummary:: flip.schemas.FLLogEvent flip.schemas.TrainingMetrics flip.schemas.TrainingLog Functions --------- .. autoapisummary:: flip.schemas.split_x_label Module Contents --------------- .. py:data:: DEFAULT_X_AXIS_LABEL :value: 'Global Rounds' .. py:function:: split_x_label(key: str) -> tuple[str, str | None] Split a metric key of the form ``