Skip to content

Refactor: Use FastAPI status constants instead of hardcoded magic numbers #6

Description

@muhammads-git

Hi team! I am a beginner looking to contribute to this project.While reading the codebase, I noticed that HTTP status codes (like 404) in main.py are currently hardcoded as magic numbers. I would love to refactor this to use FastAPI's built-in status module (e.g., status.HTTP_404_NOT_FOUND).This improves code readability and follows standard FastAPI development best practices.If this sounds good to you, please let me know and I will submit a Pull Request!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions