-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from l7wei/main
refactor: 改善程式碼可讀性
- Loading branch information
Showing
10 changed files
with
134 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +0,0 @@ | ||
from .. import app | ||
from .routers import ( | ||
buses, | ||
contacts, | ||
courses, | ||
dining, | ||
energy, | ||
libraries, | ||
locations, | ||
newsletters, | ||
resources, | ||
rpage, | ||
) | ||
|
||
app.include_router(buses.router, prefix="/buses", tags=["Buses"]) | ||
app.include_router(courses.router, prefix="/courses", tags=["Courses"]) | ||
app.include_router(dining.router, prefix="/dining", tags=["Dining"]) | ||
app.include_router(energy.router, prefix="/energy", tags=["Energy"]) | ||
app.include_router(libraries.router, prefix="/libraries", tags=["Libraries"]) | ||
app.include_router(locations.router, prefix="/locations", tags=["Locations"]) | ||
app.include_router(newsletters.router, prefix="/newsletters", tags=["Newsletters"]) | ||
app.include_router(contacts.router, prefix="/phones", tags=["Phones"]) | ||
app.include_router(contacts.router, prefix="/contacts", tags=["Contacts"]) | ||
app.include_router(resources.router, prefix="/resources", tags=[]) | ||
app.include_router(rpage.router, prefix="/rpage", tags=["Rpage"]) | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
from doctest import Example | ||
from uuid import UUID | ||
|
||
from fastapi import APIRouter, HTTPException, Path | ||
|
Oops, something went wrong.