code: def make_value_from_env(self, param, value_type, function):
          
          value = os.getenv(param)
          if value is None:
              self.notify_user("Environment variable `%s` undefined" % param)
          return self.value_convert(value, value_type)
docs: get environment variable