# LakeFSLoader

> **Class** in `langchain_community`

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

Load from `lakeFS`.

## Signature

```python
LakeFSLoader(
    self,
    lakefs_access_key: str,
    lakefs_secret_key: str,
    lakefs_endpoint: str,
    repo: Optional[str] = None,
    ref: Optional[str] = 'main',
    path: Optional[str] = '',
)
```

## Extends

- `BaseLoader`

## Constructors

```python
__init__(
    self,
    lakefs_access_key: str,
    lakefs_secret_key: str,
    lakefs_endpoint: str,
    repo: Optional[str] = None,
    ref: Optional[str] = 'main',
    path: Optional[str] = '',
)
```

| Name | Type |
|------|------|
| `lakefs_access_key` | `str` |
| `lakefs_secret_key` | `str` |
| `lakefs_endpoint` | `str` |
| `repo` | `Optional[str]` |
| `ref` | `Optional[str]` |
| `path` | `Optional[str]` |


## Properties

- `repo`
- `ref`
- `path`

## Methods

- [`set_path()`](https://reference.langchain.com/python/langchain-community/document_loaders/lakefs/LakeFSLoader/set_path)
- [`set_ref()`](https://reference.langchain.com/python/langchain-community/document_loaders/lakefs/LakeFSLoader/set_ref)
- [`set_repo()`](https://reference.langchain.com/python/langchain-community/document_loaders/lakefs/LakeFSLoader/set_repo)
- [`load()`](https://reference.langchain.com/python/langchain-community/document_loaders/lakefs/LakeFSLoader/load)

---

[View source on GitHub](https://github.com/langchain-ai/langchain-community/blob/d5ea8358933260ad48dd31f7f8076555c7b4885a/libs/community/langchain_community/document_loaders/lakefs.py#L61)