Skip to content

Commit

Permalink
refactoring code and updating changelog (#60)
Browse files Browse the repository at this point in the history
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
codeperfectplus committed Jan 20, 2023
1 parent 4f6d7fa commit 82cdff6
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,15 @@ All notable changes to this project will be documented in this file. The format

## Changelog

## [V3.0.0] - Major Release
## [V3.0.2] - Minor Release -

- [x] Updating API Documentation

## [V3.0.1] - Minor Release - 18-11-2022

- [x] Code refactor for better readability
- [x] Link updated for pypi website
## [V3.0.0] - Major Release - 09-11-2022

- [x] Function names changed
- [x] Gender can be passed as a parameter
Expand Down
3 changes: 2 additions & 1 deletion random_profile/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@


@app.get("/")
def index():
def home():
""" just a home page """
return metadata


Expand Down
2 changes: 1 addition & 1 deletion random_profile/enums/gender.py
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"

0 comments on commit 82cdff6

Please sign in to comment.