Skip to content

feat: add complete type hints to config_generator.py#331

Open
feng83232 wants to merge 1 commit into
lobster-trap:mainfrom
feng83232:type-hints
Open

feat: add complete type hints to config_generator.py#331
feng83232 wants to merge 1 commit into
lobster-trap:mainfrom
feng83232:type-hints

Conversation

@feng83232

Copy link
Copy Markdown

Closes #23

This PR adds full type annotations to 11 public functions in tools/config_generator.py:

  • merge_config
  • generate_config
  • mask_sensitive
  • to_yaml
  • to_json
  • to_toml
  • to_dotenv
  • to_k8s_configmap
  • flatten_for_k8s
  • parse_args
  • main

All functions now use Dict[str, Any] instead of bare Dict, and return types are explicit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[$25 BOUNTY] [Python] Add complete type hints to 10 public functions in a single module

1 participant