Skip to content

Commit a6e2af2

Browse files
authored
Make url optional (#19851)
* Make url optional Symlinks dont have url in GH response. * Bump llama-index-readers-github version
1 parent f846083 commit a6e2af2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llama-index-integrations/readers/llama-index-readers-github/llama_index/readers/github/repository/github_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class GitTreeObject(DataClassJsonMixin):
5050
mode: str
5151
type: str
5252
sha: str
53-
url: str
53+
url: Optional[str] = None
5454
size: Optional[int] = None
5555

5656
sha: str

llama-index-integrations/readers/llama-index-readers-github/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dev = [
2626

2727
[project]
2828
name = "llama-index-readers-github"
29-
version = "0.8.1"
29+
version = "0.8.2"
3030
description = "llama-index readers github integration"
3131
authors = [{name = "Your Name", email = "[email protected]"}]
3232
requires-python = ">=3.9,<4.0"

0 commit comments

Comments
 (0)