def _parse_dotenv(content):
    """
    :type content str
    """
    env_vars = {}
    for line in content.splitlines():
        if line.strip().startswith('#') or not line.strip():
            continue
        key, value = line.strip().split('=', 1)
        env_vars[key] = value
    return env_vars
