forked from anitab-org/mentorship-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: format code using black tool (anitab-org#478)
- Loading branch information
1 parent
1aab015
commit 80114ac
Showing
87 changed files
with
4,322 additions
and
2,920 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,23 @@ | ||
from flask_restplus import Api | ||
|
||
api = Api( | ||
title='Mentorship System API', | ||
version='1.0', | ||
description='API documentation for the backend of Mentorship System' | ||
title="Mentorship System API", | ||
version="1.0", | ||
description="API documentation for the backend of Mentorship System" | ||
# doc='/docs/' | ||
) | ||
|
||
# Adding namespaces | ||
from app.api.resources.user import users_ns as user_namespace | ||
|
||
api.add_namespace(user_namespace, path='/') | ||
api.add_namespace(user_namespace, path="/") | ||
|
||
from app.api.resources.admin import admin_ns as admin_namespace | ||
|
||
api.add_namespace(admin_namespace, path='/') | ||
api.add_namespace(admin_namespace, path="/") | ||
|
||
from app.api.resources.mentorship_relation import mentorship_relation_ns as mentorship_namespace | ||
from app.api.resources.mentorship_relation import ( | ||
mentorship_relation_ns as mentorship_namespace, | ||
) | ||
|
||
api.add_namespace(mentorship_namespace, path='/') | ||
api.add_namespace(mentorship_namespace, path="/") |
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
Oops, something went wrong.