Skip to content

Cleanup and consistent aliased.py (schemas.py now)

Mateusz Żebrak requested to merge mzebrak/aliased into develop

We were very inconsistent in what was in alised.py. This MRI solves the case.

Overall all imports from schemas should have a corresponding entry in schemas.py

There are 2 exceptions that we don't have to address yet (will be solved in the future):

  • test_webserver_http_endpoint.py directly imports beekeeper_api from schemas
  • node/api/database_api.py directly imports database_api

These will be solved with the usage of helpy lib. I don't want to create unnecessary entries for them in schemas.py

  • renamed aliased.py -> schemas.py (not only aliases are there, some are exported "as they are")

Merge request reports