Skip to content

API and Worker Extraction #9

Description

@0xV0YD

Description: Restructure the API layer and extract the background worker logic. Tasks:

  • Create api/ directory.
  • Move services/worker.py (or extract MethodWorkerfrom routes) to api/worker.py.
  • Move api/v1/optimizer_routes.py to api/routes.py.
  • Update api/routes.py to import MethodWorker from api/worker.py.
  • Update main.py to register the blueprint from the new location.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions