Tech debt: create a module for type definitions shared between cthulhu and calamari_rest
calamari_rest currently imports from the cthulhu namespace to get at certain definitions, notably the content of manager/types.py.
This is a precarious situation, because any less-than-careful imports can potentially drag in things like the cthulhu log setup (and thereby hit permissions errors).
To keep this interface clean, establish a new module call calamari_types or somesuch, and keep the common code there.
#5 Updated by John Spray over 7 years ago
- Status changed from In Progress to Resolved