Skip to content

Commit cd5ff1d

Browse files
committed
fix: typing issues
1 parent d293f27 commit cd5ff1d

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

integrations/github/src/haystack_integrations/components/connectors/github/repo_forker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class GitHubRepoForker:
4141
def __init__(
4242
self,
4343
*,
44-
github_token: Secret = Secret.from_env_var("GITHUB_TOKEN"),
44+
github_token: Optional[Secret] = None,
4545
raise_on_failure: bool = True,
4646
wait_for_completion: bool = False,
4747
max_wait_seconds: int = 300,

integrations/github/src/haystack_integrations/tools/github/repo_forker_tool.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,6 @@ def __init__(
5858
"documents": {"handler": custom_handler}
5959
}
6060
"""
61-
self.name = name
62-
self.description = description
63-
self.parameters = parameters
6461
self.github_token = github_token
6562
self.raise_on_failure = raise_on_failure
6663
self.outputs_to_string = outputs_to_string

0 commit comments

Comments
 (0)