# get_loader_type

> **Function** in `langchain_community`

📖 [View in docs](https://reference.langchain.com/python/langchain-community/utilities/pebblo/get_loader_type)

Return loader type among, file, dir or in-memory.

## Signature

```python
get_loader_type(
    loader: str,
) -> str
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `loader` | `str` | Yes | Name of the loader, whose type is to be resolved. |

## Returns

`str`

One of the loader type among, file/dir/in-memory.

---

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