Skip to content

Commit

Permalink
Refactor GitHubClient initialization: expand parameters for improved …
Browse files Browse the repository at this point in the history
…clarity and maintainability
  • Loading branch information
Your Name committed May 12, 2025
1 parent ba558d8 commit c2208ec
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion template_automation/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c2208ec

Please sign in to comment.