Skip to content

Commit 82cdff6

Browse files
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>
1 parent 4f6d7fa commit 82cdff6

File tree

3 files changed

+12
-3
lines changed

3 files changed

+12
-3
lines changed

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,15 @@ All notable changes to this project will be documented in this file. The format
44

55
## Changelog
66

7-
## [V3.0.0] - Major Release
7+
## [V3.0.2] - Minor Release -
8+
9+
- [x] Updating API Documentation
10+
11+
## [V3.0.1] - Minor Release - 18-11-2022
12+
13+
- [x] Code refactor for better readability
14+
- [x] Link updated for pypi website
15+
## [V3.0.0] - Major Release - 09-11-2022
816

917
- [x] Function names changed
1018
- [x] Gender can be passed as a parameter

random_profile/api.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929

3030

3131
@app.get("/")
32-
def index():
32+
def home():
33+
""" just a home page """
3334
return metadata
3435

3536

random_profile/enums/gender.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from enum import Enum
22

33

4-
# class syntax
54
class Gender(Enum):
5+
""" Gender Enum Class """
66
MALE = "Male"
77
FEMALE = "Female"

0 commit comments

Comments
 (0)