There was an error while loading. Please reload this page.
1 parent 4bf8af1 commit 5dfb020Copy full SHA for 5dfb020
multi_github_code_indexing/main.py
@@ -4,6 +4,7 @@
4
from dataclasses import dataclass
5
import datetime
6
from threading import Lock
7
+from typing import Callable
8
import json
9
import dotenv
10
@@ -204,7 +205,7 @@ def code_to_embedding(
204
205
206
207
# This is the factory function that builds the code indexing flow for a given repo info.
-def _build_code_indexing_flow(repo_config: _GitHubRepoConfig) -> None:
208
+def _build_code_indexing_flow(repo_config: _GitHubRepoConfig) -> Callable[..., None]:
209
"""
210
Define an example flow that embeds files into a vector database.
211
0 commit comments