anomaly / anomaly/lab-python-server

Research merits of absolute vs relative imports

Offen
#18 0 Kommentare 0 Reaktionen 1 zugewiesene Person Beansprucht von @devraj Auf GitHub ansehen
enhancement
Vorherrschende Sprache
Python
Sterne
16
Forks
4
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

Because this is meant to be template for other projects, most of the imports in the handlers are relative (to avoid referencing the `labs.`), this has its own challenges when it comes to referencing across packages e.g `routers` talking to `models`.

While both approaches have their pros and cons, the aim of this exercise is to research and make best practices recommendations for python projects at Anomaly.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.