# Recent breaking changes in \`api.dataset\_info\`?

**URL:** <https://discuss.huggingface.co/t/recent-breaking-changes-in-api-dataset-info/133438>\
**Category:** 🤗Datasets\
**Created:** [December 29, 2024, 11:21am UTC](https://discuss.huggingface.co/t/recent-breaking-changes-in-api-dataset-info/133438 "2024-12-29T11:21:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aurelien-Morgan](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/aurelien-morgan/32/26438_2.png) [@Aurelien-Morgan](https://discuss.huggingface.co/u/Aurelien-Morgan)\
**Post date:** [December 29, 2024, 11:21am UTC](https://discuss.huggingface.co/t/recent-breaking-changes-in-api-dataset-info/133438/1 "2024-12-29T11:21:55Z")

</div>

Hello,

It seems that the api response changed format in the very recent days. Is that so ?  
For instance, now, to access license label, we shall use `repo_info.card_data["license"]`.

May I be informed on how to access arxiv references though ? I can’t find them anywhere anymore.  
Until a couple days ago at least, it was accessible via :

```python
arxiv_tags = [tag for tag in repo_info.tags
                           if tag.startswith('arxiv:')]

```

Thank you

---

<div class="post-metadata">

**Author:** ![lhoestq](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/lhoestq/32/52888_2.png) [@lhoestq](https://discuss.huggingface.co/u/lhoestq)\
**Post date:** [January 8, 2025, 2:57pm UTC](https://discuss.huggingface.co/t/recent-breaking-changes-in-api-dataset-info/133438/8 "2025-01-08T14:57:06Z")

</div>

Hi ! Can you try updating `huggingface_hub` ? Some old versions are not robust to recent changes on HF

---

<div class="post-metadata">

**Author:** ![Aurelien-Morgan](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/aurelien-morgan/32/26438_2.png) [@Aurelien-Morgan](https://discuss.huggingface.co/u/Aurelien-Morgan)\
**Post date:** [January 9, 2025, 11:24am UTC](https://discuss.huggingface.co/t/recent-breaking-changes-in-api-dataset-info/133438/9 "2025-01-09T11:24:09Z")

</div>

Hello and thank you for your response.

The version I had been using was 0.26.2 from October.  
I switched to current (0.27.1, from january) as you kindly advised.  
`api.dataset_info` indeed now behaves same as `api.model_info` again.  
Thanks a lot for the invaluable assistance, Quentin.  
So long and Godspeed.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/hellohellohello/original/2X/d/de4155eb4aa4108ecb32a1389d7cc37ae69f88b7.png) [@system](https://discuss.huggingface.co/u/system)\
**Post date:** [January 9, 2025, 11:24pm UTC](https://discuss.huggingface.co/t/recent-breaking-changes-in-api-dataset-info/133438/10 "2025-01-09T23:24:42Z")

</div>

This topic was automatically closed 12 hours after the last reply. New replies are no longer allowed.
