def upload_file_from_string( cls, string_data: str, share_name: str, azure_fileshare_conn_id: str, file_name: str, directory: str, ): hook = AzureFileShareHook(azure_fileshare_conn_id=azure_fileshare_conn_id) hook.load_string( string_data=string_data, share_name=share_name, directory_name=directory, file_name=file_name, )