Skip to content

[task] Pydantic BaseModel #60

@AdamSulek

Description

@AdamSulek
  • 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions