@snippet
def client_list_subscriptions(client, to_delete):
 def do_something_with(sub):
  pass
 for subscription in client.list_subscriptions():
  do_something_with(subscription)

@ snippet def client_list_subscriptions ( client , to_delete ) : def do_something_with ( sub ) : pass for subscription in client . list_subscriptions ( ) : do_something_with ( subscription )
list all subscriptions for a project .