a guest Jul 22nd, 2019 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. class AbstractSolmanManager(ABC):
  2.     def __init__(self, customerNumber = "", requestHeaders=[]):
  3.         self.customerNumber = customerNumber
  4.         if util_func.is_local_run():
  5.             requestHeaders = {
  6.                 "Authorization": util_func.get_basic_auth(os.getenv("SOLMAN_USER"), os.getenv("SOLMAN_PWD"))}
  7.         else:
  8.             requestHeaders = {'Authorization': requestHeaders['Authorization']}
  9.         self.requestHeaders = requestHeaders
  10.         super(AbstractSolmanManager, self).__init__()
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand