Please use api-project instead.

list_datasets(project, page_size = 50, max_pages = Inf)