Skip to content

Job manager: Move jobdatabase classes out of __init__ #741

@VictorVerhaert

Description

@VictorVerhaert

the init file currently contains a lot of logic making it hard for new users to figure out how it works.

One way of cleaning this file is moving job database logic to a separate file `job_database.py' (and including the stac api one)

In order to prevent existing links from breaking we can import the databases and add them to the all variable as described here:
https://docs.astral.sh/ruff/rules/unused-import/
(I realize we don't use ruff as a linting tool but still believe we should add it to all)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions