p = Parea(api_key="PAREA_API_KEY") # replace with your API key test_collection = p.get_collection(test_collection_identifier="Math problems")
{ "column_names": [ "language", "framework" ], "created_at": "2021-06-01T00:00:00Z", "id": 5000, "last_updated_at": "2021-06-01T00:00:00Z", "name": "Hello World Programs", "test_cases": { "12345": { "id": 12345, "inputs": { "framework": "fastapi", "language": "python" }, "tags": [ "easy" ], "target": "a good program here", "test_case_collection_id": 5000 } } }
Fetches dataset/test case collection by its ID or name.
Args: test_collection_identifier (Union[str, int]): ID or name of the test case collection/dataset.
Successful Response
The response is of type object.
object
Was this page helpful?