- [x] Creating dictionary with keys: start_time, end_time, project_name ... analogically to Timelogs class object and give them some values. - [ ] creating a function with take input (start_time, end_time, and so on..) and return a dictionary with keys as above - [ ] creating a Timelogs class object with methods which provide to create new timelog object - [ ] Using pydantic BaseModel (https://pydantic-docs.helpmanual.io/usage/models/) to write TimeLogs, Master_db and TimeStamps tables from database.py to fastApi pydantic Models
Creating dictionary with keys: start_time, end_time, project_name ... analogically to Timelogs class object and give them some values.
creating a function with take input (start_time, end_time, and so on..) and return a dictionary with keys as above
creating a Timelogs class object with methods which provide to create new timelog object
Using pydantic BaseModel (https://pydantic-docs.helpmanual.io/usage/models/)
to write TimeLogs, Master_db and TimeStamps tables from database.py to fastApi pydantic Models