anomaly / anomaly/lab-python-server

Research merits of absolute vs relative imports

Ouverte
#18 0 commentaires 0 réactions 1 personne assignée Réclamée par @devraj Voir sur GitHub
enhancement
Langage dominant
Python
Étoiles
16
Forks
4
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.