#NEWLINE# def sas( self , container , start , expiry , permissions ) : #NEWLINE# #INDENT# sas = SharedAccessSignature ( self . account_name , self . account_key ) #NEWLINE# signed_query = sas . generate_container ( container_name = container , permission = permissions , expiry = expiry . strftime ( ISO8061_FORMAT ) , start = start . strftime ( ISO8061_FORMAT ) ) #NEWLINE# return 'https://{}.blob.core.windows.net/{}?{}' . format ( container . account_name , container , signed_query )