Commits

Robert Myers committed 2bcb974

Adding a proxy attribute to conf

Comments (0)

Files changed (2)

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

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."""