human
Solve the following python programming problem given the following code:
@snippet
def client_list_datasets(client, _):
assistant
#Here is the Python code you requested.

    """List datasets for a project.
    """
    def do_something_with(_):
        pass
    for dataset in client.list_datasets():
        do_something_with(dataset)