Commits

Robert Myers  committed 2bcb974

Adding a proxy attribute to conf

  • Participants
  • Parent commits 3a73858
  • Branches worker

Comments (0)

Files changed (2)

File cannula/conf.py

                 setattr(self, option, LazyAPI(value))
     
 
-api = API()
+api = API()
+proxy = import_object(CANNULA_PROXY)

File cannula/worker.py

 import os
 
-from cannula.conf import api, CANNULA_CLUSTER_DEFAULTS, CANNULA_BASE
+from cannula.conf import api, proxy, CANNULA_CLUSTER_DEFAULTS, CANNULA_BASE
 
 class DeploymentError(Exception):
     """Base class for all deployment exception classes."""