fix some stuff (#12292)

Co-authored-by: Erick Friis <erick@langchain.dev>
This commit is contained in:
Harrison Chase
2023-10-26 13:30:36 -07:00
committed by GitHub
parent 6ce276e099
commit 9ce38726a2
21 changed files with 17 additions and 3033 deletions

View File

@@ -67,7 +67,6 @@ def parse_dependency_string(package_string: str) -> DependencySource:
raise NotImplementedError("url dependencies are not supported yet")
else:
# it's a default git repo dependency
gitstring = DEFAULT_GIT_REPO
subdirectory = str(Path(DEFAULT_GIT_SUBDIRECTORY) / package_string)
return DependencySource(
git=gitstring, ref=DEFAULT_GIT_REF, subdirectory=subdirectory