code: def _environment_variables() -> Dict[str, str]:
      
      return {key: value
              for key, value in os.environ.items()
              if _is_encodable(value)}
docs: Wraps `os.environ` to filter out non-encodable values.