Spaces:
Running on T4
Running on T4
Download backend/app/models.py from modventures/baseball-engine: direct link, hf CLI and curl.
- Browser
- Download file 1.77 kB
-
https://huggingface.co/spaces/modventures/baseball-engine/resolve/main/backend/app/models.py
- Command line
-
hf download hf://spaces/modventures/baseball-engine/backend/app/models.py
-
curl -L -o models.py https://huggingface.co/spaces/modventures/baseball-engine/resolve/main/backend/app/models.py
1.77 kB
| """Imports every model so Base.metadata is complete (Alembic, tests).""" | |
| from app.common.base_model import Base | |
| from app.modules.academy.models import ( | |
| AcademyMembership, | |
| CoachAccessRequest, | |
| CoachNote, | |
| CoachPlayer, | |
| GroupCoach, | |
| GroupPlayer, | |
| LibraryDrill, | |
| PlayerGroup, | |
| StaffCode, | |
| ) | |
| from app.modules.accounts.models import Account | |
| from app.modules.api_audit.models import ApiRequestLog | |
| from app.modules.arm_care.models import ArmFeel, ArmOuting | |
| from app.modules.assignments.models import AssignmentSet, DrillAssignment | |
| from app.modules.auth.models import AuthIdentity, PasswordReset, RefreshToken | |
| from app.modules.billing.models import Subscription | |
| from app.modules.devices.models import Device | |
| from app.modules.drills.models import DrillLog | |
| from app.modules.goals.models import Goal | |
| from app.modules.idempotency.models import IdempotencyKey | |
| from app.modules.notifications.models import Notification | |
| from app.modules.reviews.models import Review | |
| from app.modules.sessions.models import SwingSession | |
| from app.modules.settings.models import ConsentEvent, ExportJob, UserSettings | |
| from app.modules.teams.models import Team | |
| from app.modules.threads.models import Message, Thread | |
| from app.modules.uploads.models import Upload | |
| __all__ = [ | |
| "Base", "Account", "AuthIdentity", "PasswordReset", "RefreshToken", "Subscription", "Device", "DrillLog", | |
| "IdempotencyKey", "Review", "SwingSession", "Team", "Upload", "ApiRequestLog", | |
| "AcademyMembership", "CoachAccessRequest", "CoachNote", "CoachPlayer", "GroupCoach", "GroupPlayer", | |
| "LibraryDrill", "PlayerGroup", "StaffCode", "ArmFeel", "ArmOuting", "AssignmentSet", "DrillAssignment", | |
| "Goal", "Notification", "ConsentEvent", "ExportJob", "UserSettings", "Message", "Thread", | |
| ] | |