Skip to content

Commit 039b68a

Browse files
authored
From repo fix (#799)
makes from_repo work with latest conventions
1 parent 21e4f10 commit 039b68a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/codegen/sdk/core/codebase.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1353,7 +1353,7 @@ def from_repo(
13531353
if commit is None:
13541354
repo_config = RepoConfig.from_repo_path(repo_path)
13551355
repo_config.full_name = repo_full_name
1356-
repo_operator = RepoOperator.create_from_repo(repo_config=repo_config, access_token=access_token, setup_option=setup_option, full_history=full_history)
1356+
repo_operator = RepoOperator.create_from_repo(repo_path=repo_path, url=repo_url, access_token=access_token, full_history=full_history)
13571357
else:
13581358
# Ensure the operator can handle remote operations
13591359
repo_operator = RepoOperator.create_from_commit(repo_path=repo_path, commit=commit, url=repo_url, full_name=repo_full_name, access_token=access_token)

0 commit comments

Comments
 (0)