From c2208ec1d5a6c47ca494c40d32f90955c6502acc Mon Sep 17 00:00:00 2001 From: Your Name Date: Mon, 12 May 2025 16:06:41 -0400 Subject: [PATCH] Refactor GitHubClient initialization: expand parameters for improved clarity and maintainability --- template_automation/app.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/template_automation/app.py b/template_automation/app.py index fa62b1c..5ee9589 100644 --- a/template_automation/app.py +++ b/template_automation/app.py @@ -143,7 +143,13 @@ def lambda_handler(event: dict, context) -> dict: ) # Initialize clients - github = GitHubClient(github_config) + github = GitHubClient( + api_base_url=github_config.api_base_url, + token=github_config.token, + org_name=github_config.org_name, + commit_author_name=github_config.commit_author_name, + commit_author_email=github_config.commit_author_email + ) template_mgr = TemplateManager(github_config) # Create repository from template