Skip to content

Commit 5dfb020

Browse files
committed
chore: fix return type annotation
1 parent 4bf8af1 commit 5dfb020

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

multi_github_code_indexing/main.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
from dataclasses import dataclass
55
import datetime
66
from threading import Lock
7+
from typing import Callable
78
import json
89
import dotenv
910

@@ -204,7 +205,7 @@ def code_to_embedding(
204205

205206

206207
# This is the factory function that builds the code indexing flow for a given repo info.
207-
def _build_code_indexing_flow(repo_config: _GitHubRepoConfig) -> None:
208+
def _build_code_indexing_flow(repo_config: _GitHubRepoConfig) -> Callable[..., None]:
208209
"""
209210
Define an example flow that embeds files into a vector database.
210211
"""

0 commit comments

Comments
 (0)