Ask a question to get started
Enter to send•Shift+Enter new line
resolve_env_kwargs( table: Mapping[str, tuple[str, ...]], lookup: Callable
table
Mapping[str, tuple[str, ...]]
Constructor argument name mapped to candidate env var names.
lookup
Callable[[str], str | None]
Translate an argument/env-name table into explicit constructor kwargs.
The first name that lookup resolves to a non-empty value wins.
Resolver for a single env var name.