# 19 - Add Flax weights by ArthurZ, pr: True
```  
`HfApi.get_repo_discussions` returns a [generator](https://docs.python.org/3.7/howto/functional.html#generators) that yields
[`Discussion`] objects. To get all the Discussions in a single list, run:  
```python
>>> from huggingface_hub import get_repo_discussions
>>> discussions_list = list(get_repo_discussions(repo_id="bert-base-uncased"))
```  
The [`Discussion`] object returned by [`HfApi.get_repo_discussions`] contains high-level overview of the