@snippet
def client_list_datasets(client, _):
 def do_something_with(_):
  pass
 for dataset in client.list_datasets():
  do_something_with(dataset)

@ snippet def client_list_datasets ( client , _ ) : def do_something_with ( _ ) : pass for dataset in client . list_datasets ( ) : do_something_with ( dataset )
list datasets for a project .