code: def get_env_default(self, variable, default):
          
          if variable in os.environ:
              env_var = os.environ[variable]
          else:
              env_var = default
          return env_var
docs: Fetch environment variables, returning a default if not found