# fetch_extensions

> **Function** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/document_loaders/base_o365/fetch_extensions)

Fetch the mime types for the specified file types.

## Signature

```python
fetch_extensions(
    mime_types: Sequence[str],
) -> Dict[str, str]
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/4b280287bd55b99b44db2dd849f02d66c89534d5/libs/community/langchain_community/document_loaders/base_o365.py#L67)