Reformatting everything with black
This commit is contained in:
1 parent
7bd07f084a
commit
8185f1f8b3
48 files changed
+1000
-348
No files matched your search
+57
-13
@@ -1,22 +1,66 @@
|
||||
from fastapi import APIRouter
|
||||
|
||||
from app.api import attachment_point_names, attachment_points, audit_log, augmented_parts, auth, clamp_connections, imported_parts, iso_threads, manufacturers, part_colours, part_types, roles, scope_models, static_connections, sub_part_types, unc_threads, users
|
||||
from app.api import (
|
||||
attachment_point_names,
|
||||
attachment_points,
|
||||
audit_log,
|
||||
augmented_parts,
|
||||
auth,
|
||||
clamp_connections,
|
||||
imported_parts,
|
||||
iso_threads,
|
||||
manufacturers,
|
||||
part_colours,
|
||||
part_types,
|
||||
roles,
|
||||
scope_models,
|
||||
static_connections,
|
||||
sub_part_types,
|
||||
unc_threads,
|
||||
users,
|
||||
)
|
||||
|
||||
api_router = APIRouter()
|
||||
api_router.include_router(auth.router, prefix="/auth", tags=["auth"])
|
||||
api_router.include_router(users.router, prefix="/users", tags=["users"])
|
||||
api_router.include_router(roles.router, prefix="/roles", tags=["roles"])
|
||||
api_router.include_router(iso_threads.router, prefix="/iso-threads", tags=["iso-threads"])
|
||||
api_router.include_router(unc_threads.router, prefix="/unc-threads", tags=["unc-threads"])
|
||||
api_router.include_router(manufacturers.router, prefix="/manufacturers", tags=["manufacturers"])
|
||||
api_router.include_router(scope_models.router, prefix="/scope-models", tags=["scope-models"])
|
||||
api_router.include_router(part_colours.router, prefix="/part-colours", tags=["part-colours"])
|
||||
api_router.include_router(
|
||||
iso_threads.router, prefix="/iso-threads", tags=["iso-threads"]
|
||||
)
|
||||
api_router.include_router(
|
||||
unc_threads.router, prefix="/unc-threads", tags=["unc-threads"]
|
||||
)
|
||||
api_router.include_router(
|
||||
manufacturers.router, prefix="/manufacturers", tags=["manufacturers"]
|
||||
)
|
||||
api_router.include_router(
|
||||
scope_models.router, prefix="/scope-models", tags=["scope-models"]
|
||||
)
|
||||
api_router.include_router(
|
||||
part_colours.router, prefix="/part-colours", tags=["part-colours"]
|
||||
)
|
||||
api_router.include_router(part_types.router, prefix="/part-types", tags=["part-types"])
|
||||
api_router.include_router(sub_part_types.router, prefix="/sub-part-types", tags=["sub-part-types"])
|
||||
api_router.include_router(static_connections.router, prefix="/static-connections", tags=["static-connections"])
|
||||
api_router.include_router(clamp_connections.router, prefix="/clamp-connections", tags=["clamp-connections"])
|
||||
api_router.include_router(attachment_point_names.router, prefix="/attachment-point-names", tags=["attachment-point-names"])
|
||||
api_router.include_router(attachment_points.router, prefix="/attachment-points", tags=["attachment-points"])
|
||||
api_router.include_router(imported_parts.router, prefix="/imported-parts", tags=["imported-parts"])
|
||||
api_router.include_router(augmented_parts.router, prefix="/augmented-parts", tags=["augmented-parts"])
|
||||
api_router.include_router(
|
||||
sub_part_types.router, prefix="/sub-part-types", tags=["sub-part-types"]
|
||||
)
|
||||
api_router.include_router(
|
||||
static_connections.router, prefix="/static-connections", tags=["static-connections"]
|
||||
)
|
||||
api_router.include_router(
|
||||
clamp_connections.router, prefix="/clamp-connections", tags=["clamp-connections"]
|
||||
)
|
||||
api_router.include_router(
|
||||
attachment_point_names.router,
|
||||
prefix="/attachment-point-names",
|
||||
tags=["attachment-point-names"],
|
||||
)
|
||||
api_router.include_router(
|
||||
attachment_points.router, prefix="/attachment-points", tags=["attachment-points"]
|
||||
)
|
||||
api_router.include_router(
|
||||
imported_parts.router, prefix="/imported-parts", tags=["imported-parts"]
|
||||
)
|
||||
api_router.include_router(
|
||||
augmented_parts.router, prefix="/augmented-parts", tags=["augmented-parts"]
|
||||
)
|
||||
api_router.include_router(audit_log.router, prefix="/audit-log", tags=["audit-log"])
|
||||
Reference in new issue
Block a user