"""User-facing routes, split by subject. Was a single 1 699-line module covering account administration, profiles, availability calendars, contracts, one-on-one sessions and coach notes — six subjects that shared nothing but a URL prefix (ARCH-004). Importing this package registers every route on `users_bp`, so app.py keeps its single `from app.routes.users import users_bp`. The blueprint itself lives in blueprint.py to keep that import one-directional. """ from app.routes.users.blueprint import users_bp # Imported for their side effect: each module attaches its routes to # users_bp. Order does not matter; none of them import each other. from app.routes.users import accounts # noqa: F401,E402 from app.routes.users import availability # noqa: F401,E402 from app.routes.users import contracts # noqa: F401,E402 from app.routes.users import notes # noqa: F401,E402 from app.routes.users import one_on_one # noqa: F401,E402 from app.routes.users import profile # noqa: F401,E402 # Re-exported because tests and other modules reach for them by name. from app.routes.users._shared import ( # noqa: F401,E402 ALLOWED_CONTRACT_EXTENSIONS, ALLOWED_SIGNED_EXTENSIONS, pdf_upload_error, ) __all__ = [ 'ALLOWED_CONTRACT_EXTENSIONS', 'ALLOWED_SIGNED_EXTENSIONS', 'pdf_upload_error', 'users_bp', ]