-
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactoring code and updating changelog (#60)
Signed-off-by: Deepak Raj <54245038+codePerfectPlus@users.noreply.github.com> Signed-off-by: Deepak Raj <54245038+codePerfectPlus@users.noreply.github.com>
- Loading branch information
1 parent
4f6d7fa
commit 82cdff6
Showing
3 changed files
with
12 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,7 +29,8 @@ | |
|
||
|
||
@app.get("/") | ||
def index(): | ||
def home(): | ||
""" just a home page """ | ||
return metadata | ||
|
||
|
||
|
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,7 +1,7 @@ | ||
from enum import Enum | ||
|
||
|
||
# class syntax | ||
class Gender(Enum): | ||
""" Gender Enum Class """ | ||
MALE = "Male" | ||
FEMALE = "Female" |