def write(settings_path, settings_data, **kwargs):
    """Write data to .env file"""
    for key, value in settings_data.items():
        dotenv_cli.set_key(str(settings_path), key.upper(), str(value))
def write ( settings_path , settings_data , ** kwargs ) : for key , value in settings_data . items ( ) : dotenv_cli . set_key ( str ( settings_path ) , key . upper ( ) , str ( value ) )
Write data to .env file