Exercise Model

class Exercise(**kwargs)[source]

Bases: UUIDv7AuditBase

Represents a physical exercise and its biomechanical properties.

name: Mapped[str | None]

The display name of the exercise.

force: Mapped[ForceType]

Type of force applied (pull, push, static).

difficulty_level: Mapped[DifficultyLevelType]

Required experience level to perform the exercise.

mechanic: Mapped[MechanicType]

Movement mechanic (compound or isolation).

category: Mapped[CategoryType]

The primary fitness discipline or training goal.

instructions: Mapped[str | None]

Step-by-step guide on how to perform the movement.

image_path_start: Mapped[str | None]

Relative path to the starting position image. Only for system-provided exercises.

image_path_end: Mapped[str | None]

Relative path to the ending position image. Only for system-provided exercises.

is_system_default: Mapped[bool]

Indicates if this is a system-provided exercise.

created_by: Mapped[GUID]

Reference to the user who created a custom exercise.

slug: Mapped[str | None]

Unique URL-friendly identifier for system-default exercises.

primary_muscles: Mapped[list[MuscleGroup]]

List of main target muscle groups.

secondary_muscles: Mapped[list[MuscleGroup]]

List of assisting muscle groups.

equipment: Mapped[list[Equipment]]

List of equipment required for the exercise.

tags: Mapped[list[ExerciseTag]]

System-defined metadata tags for categorization and filtering.