Skip to content

Commit 72d4790

Browse files
author
codegen-bot
committed
remove from gsbuild
1 parent 5566e73 commit 72d4790

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

src/codegen/gsbuild/build.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,10 @@ def update_init_file(file: Path) -> None:
1515
file.write_text(content)
1616

1717

18-
def update_function_imports(root_path: Path) -> None:
19-
from codegen.gscli.generate.runner_imports import _generate_runner_imports
20-
21-
file_path = root_path / "src" / "codegen" / "shared" / "compilation" / "function_imports.py"
22-
_generate_runner_imports(str(file_path))
23-
24-
2518
class SpecialBuildHook(BuildHookInterface):
2619
PLUGIN_NAME = "codegen_build"
2720

2821
def initialize(self, version: str, build_data: dict[str, Any]) -> None:
2922
file = Path(self.root) / "src" / "codegen" / "sdk" / "__init__.py"
3023
update_init_file(file)
31-
update_function_imports(Path(self.root))
3224
build_data["artifacts"].append(f"/{file}")

src/codegen/runner/sandbox/executor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ async def find_flag_groups(self, code_flags: list[CodeFlag], grouping_config: Gr
5353

5454
# =====[ Group the code flags ]=====
5555
logger.info(f"> Grouping CodeFlags by config: {grouping_config}")
56-
grouper = get_grouper_by_group_by(grouping_config.group_by, repo_id=self.codebase.op.repo_config.id)
56+
grouper = get_grouper_by_group_by(grouping_config.group_by)
5757
groups = grouper.create_all_groups(flags=code_flags, repo_operator=self.codebase.op)
5858
logger.info(f"> Created {len(groups)} groups")
5959
return groups

0 commit comments

Comments
 (0)