anomaly / anomaly/lab-python-server

Research merits of absolute vs relative imports

未关闭
#18 0 条评论 0 个 reaction 已指派 1 人 已被 @devraj 认领 在 GitHub 查看
enhancement
主要语言
Python
星标
16
派生
4
PR 合并指标
30 天内没有已合并 PR

描述

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.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。