diff --git a/llama-index-integrations/readers/llama-index-readers-gitlab/llama_index/readers/gitlab/repository/base.py b/llama-index-integrations/readers/llama-index-readers-gitlab/llama_index/readers/gitlab/repository/base.py index 88dd2c5e1d427..a6944a858fe3a 100644 --- a/llama-index-integrations/readers/llama-index-readers-gitlab/llama_index/readers/gitlab/repository/base.py +++ b/llama-index-integrations/readers/llama-index-readers-gitlab/llama_index/readers/gitlab/repository/base.py @@ -84,9 +84,7 @@ def load_data( for item in repo_items: if item["type"] == "blob": - document = self._load_single_file(item["path"], ref) - - documents.append(document) + documents.append(self._load_single_file(item["path"], ref)) return documents diff --git a/llama-index-integrations/readers/llama-index-readers-gitlab/pyproject.toml b/llama-index-integrations/readers/llama-index-readers-gitlab/pyproject.toml index d9397cf779d9e..7f679818324f2 100644 --- a/llama-index-integrations/readers/llama-index-readers-gitlab/pyproject.toml +++ b/llama-index-integrations/readers/llama-index-readers-gitlab/pyproject.toml @@ -32,7 +32,7 @@ maintainers = ["jiachengzhang1"] name = "llama-index-readers-gitlab" packages = [{include = "llama_index/"}] readme = "README.md" -version = "0.3.0" +version = "0.3.1" [tool.poetry.dependencies] python = ">=3.9,<4.0"