Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pydantic/pydantic-settings
/ functions
Functions
697 in github.com/pydantic/pydantic-settings
⨍
Functions
697
◇
Types & classes
267
↳
Endpoints
2
Method
settings_customise_sources
( cls, settings_cls: type[BaseSettings], init_settings: PydanticBaseSettin
tests/test_source_json.py:50
Method
settings_customise_sources
( cls, settings_cls: type[BaseSettings], init_settings: Pydant
tests/test_source_json.py:210
Method
settings_sources_data
The state of all previous settings sources.
pydantic_settings/sources/base.py:125
Method
side_effect
()
tests/test_source_gcp_secret_manager.py:620
Method
sub_models
(self)
pydantic_settings/sources/providers/cli.py:232
Method
subcommand_dest
(self)
pydantic_settings/sources/providers/cli.py:211
Method
test___call__
Test __call__.
tests/test_source_aws_secrets_manager.py:67
Method
test___call__
Test __call__.
tests/test_source_azure_key_vault.py:45
Method
test___init__
Test __init__.
tests/test_source_pyproject_toml.py:49
Method
test___init__
Test __init__.
tests/test_source_aws_secrets_manager.py:55
Method
test___init__
Test __init__.
tests/test_source_azure_key_vault.py:30
Method
test___init___explicit
Test __init__ explicit file.
tests/test_source_pyproject_toml.py:59
Method
test___init___explicit_missing
Test __init__ explicit file missing.
tests/test_source_pyproject_toml.py:70
Method
test___init___no_file
Test __init__ no file.
tests/test_source_pyproject_toml.py:80
Method
test___init___parent
Test __init__ parent directory.
tests/test_source_pyproject_toml.py:92
Function
test_alias_nested_model_default_partial_update
()
tests/test_settings.py:813
Function
test_alias_resolution_init_source
(env)
tests/test_settings.py:773
Function
test_alias_set
(env)
tests/test_settings.py:1667
Function
test_annotated
(env)
tests/test_settings.py:648
Function
test_annotated_list
(env)
tests/test_settings.py:456
Function
test_annotated_with_parameterized_type_alias
https://github.com/pydantic/pydantic-settings/issues/778. Parameterized PEP 695 type aliases should correctly substitute type params when det
tests/test_settings.py:502
Function
test_annotated_with_type
https://github.com/pydantic/pydantic-settings/issues/536. PEP 695 type aliases need to be analyzed when determining if an annotation is complex.
tests/test_settings.py:478
Function
test_annotated_with_type_no_decode
(env)
tests/test_settings.py:540
Function
test_annotation_is_complex_root_model_check
Test for https://github.com/pydantic/pydantic-settings/issues/390
tests/test_settings.py:3149
Method
test_aws_secrets_manager_settings_source
Test AWSSecretsManagerSettingsSource.
tests/test_source_aws_secrets_manager.py:129
Method
test_azure_key_vault_settings_source
Test AzureKeyVaultSettingsSource.
tests/test_source_azure_key_vault.py:107
Function
test_builtins_settings_source_repr
()
tests/test_settings.py:2083
Function
test_case_insensitive_nested_alias
Ensure case-insensitive environment lookup works with nested aliases.
tests/test_settings.py:3030
Function
test_case_insensitive_nested_list
(env)
tests/test_settings.py:3048
Function
test_case_insensitive_nested_optional
(env)
tests/test_settings.py:3014
Function
test_case_sensitive
(monkeypatch)
tests/test_settings.py:1031
Function
test_case_sensitive_from_args
(monkeypatch)
tests/test_settings.py:2537
Function
test_case_sensitive_no_nested_delimiter
(monkeypatch, env_nested_delimiter)
tests/test_settings.py:1047
Function
test_class_nested_model_default_partial_update
(env)
tests/test_settings.py:674
Function
test_cli_alias_arg
(capsys, monkeypatch, avoid_json)
tests/test_source_cli.py:284
Function
test_cli_alias_exceptions
(capsys, monkeypatch)
tests/test_source_cli.py:400
Function
test_cli_alias_nested_arg
(capsys, monkeypatch, avoid_json)
tests/test_source_cli.py:340
Function
test_cli_alias_resolution_consistency_with_env
(env, alias_generator)
tests/test_source_cli.py:144
Function
test_cli_alias_subcommand_and_positional_args
(capsys, monkeypatch)
tests/test_source_cli.py:236
Function
test_cli_annotation_exceptions
(monkeypatch)
tests/test_source_cli.py:1671
Function
test_cli_app
()
tests/test_source_cli.py:2469
Function
test_cli_app_async_method_no_existing_loop
()
tests/test_source_cli.py:2517
Function
test_cli_app_async_method_with_existing_loop
()
tests/test_source_cli.py:2527
Function
test_cli_app_exceptions
()
tests/test_source_cli.py:2540
Function
test_cli_app_run_env_file_from_model_config
Regression test for https://github.com/pydantic/pydantic-settings/issues/795 CliApp.run() should respect env_file set in model_config even when _
tests/test_source_cli.py:3511
Function
test_cli_app_run_subcommand_underscore_field_name
()
tests/test_source_cli.py:3532
Function
test_cli_app_with_separate_parser
(monkeypatch)
tests/test_source_cli.py:3213
Function
test_cli_avoid_json
(capsys, monkeypatch)
tests/test_source_cli.py:1856
Function
test_cli_bool_flags
(monkeypatch, enforce_required, implicit_flags_mode)
tests/test_source_cli.py:1775
Function
test_cli_bool_with_non_type_metadata
https://github.com/pydantic/pydantic-settings/issues/782. Bool fields with non-type metadata (e.g. CliSuppress) should not crash issubclass.
tests/test_source_cli.py:2809
Function
test_cli_case_insensitive_arg
()
tests/test_source_cli.py:471
Function
test_cli_custom_help
(capsys, monkeypatch)
tests/test_source_cli.py:3403
Function
test_cli_decoding
()
tests/test_source_cli.py:3332
Function
test_cli_dict_arg
(prefix, arg_spaces)
tests/test_source_cli.py:973
Function
test_cli_disriminator_choices
()
tests/test_source_cli.py:3461
Function
test_cli_dummy_user_settings_with_subcommand
(prefix)
tests/test_source_cli.py:2300
Function
test_cli_enforce_required
(env)
tests/test_source_cli.py:2033
Function
test_cli_enums
(capsys, monkeypatch)
tests/test_source_cli.py:1602
Function
test_cli_exit_on_error
(capsys, monkeypatch)
tests/test_source_cli.py:2060
Function
test_cli_flag_prefix_char
()
tests/test_source_cli.py:2190
Function
test_cli_format_help
()
tests/test_source_cli.py:3418
Function
test_cli_help_default_or_none_model
(capsys, monkeypatch)
tests/test_source_cli.py:634
Function
test_cli_help_differentiation
(capsys, monkeypatch)
tests/test_source_cli.py:512
Function
test_cli_help_string_format
(capsys, monkeypatch)
tests/test_source_cli.py:537
Function
test_cli_help_union_of_models
(capsys, monkeypatch)
tests/test_source_cli.py:594
Function
test_cli_hide_none_type
(capsys, monkeypatch)
tests/test_source_cli.py:1940
Function
test_cli_ignore_unknown_args
()
tests/test_source_cli.py:2079
Function
test_cli_ignore_unknown_args_nested_subcommand
()
tests/test_source_cli.py:2138
Function
test_cli_ignore_unknown_args_nested_subcommand_higher_in_hierarchy
()
tests/test_source_cli.py:2166
Function
test_cli_ignore_unknown_args_subcommand
()
tests/test_source_cli.py:2105
Function
test_cli_invalid_abbrev
()
tests/test_source_cli.py:2754
Function
test_cli_json_optional_default
()
tests/test_source_cli.py:3089
Function
test_cli_json_schema_extra_description_fallback
Root parser uses json_schema_extra description when __doc__ is None (simulating python -OO).
tests/test_source_cli.py:3641
Function
test_cli_json_schema_extra_takes_precedence_over_docstring
Even when __doc__ is available, json_schema_extra description should be used, instead.
tests/test_source_cli.py:3674
Function
test_cli_kebab_case
(capsys, monkeypatch)
tests/test_source_cli.py:2889
Function
test_cli_kebab_case_all_with_implicit_flag
()
tests/test_source_cli.py:3026
Function
test_cli_kebab_case_enums
()
tests/test_source_cli.py:2993
Function
test_cli_list_arg
(prefix, arg_spaces)
tests/test_source_cli.py:772
Function
test_cli_list_json_value_parsing
(arg_spaces)
tests/test_source_cli.py:949
Function
test_cli_literal_numeric_enum
Literal[numeric Enum member] should parse from CLI numeric strings.
tests/test_source_cli.py:925
Function
test_cli_literals
()
tests/test_source_cli.py:1651
Function
test_cli_metavar_format
(hide_none_type, value, expected)
tests/test_source_cli.py:2441
Function
test_cli_metavar_format_type_alias_312
()
tests/test_source_cli.py:2460
Function
test_cli_mutually_exclusive_group
(capsys, monkeypatch)
tests/test_source_cli.py:2617
Function
test_cli_mutually_exclusive_group_exceptions
()
tests/test_source_cli.py:2691
Function
test_cli_mutually_recursive_models
https://github.com/pydantic/pydantic-settings/issues/781. Mutually recursive models (A -> B -> A) via discriminated unions should not cause i
tests/test_source_cli.py:2849
Function
test_cli_nested_arg
()
tests/test_source_cli.py:167
Function
test_cli_nested_dataclass_arg
()
tests/test_source_cli.py:738
Function
test_cli_nested_dict_arg
()
tests/test_source_cli.py:1182
Function
test_cli_nested_discriminated_union
Test that nested unions like Union[Annotated[Union[A, B], Discriminator(...)], None] are handled by CLI.
tests/test_source_cli.py:1507
Function
test_cli_optional_positional_arg
(env)
tests/test_source_cli.py:1532
Function
test_cli_parse_args_from_model_config_is_respected_with_settings_customise_sources
( monkeypatch: pytest.MonkeyPatch, )
tests/test_source_cli.py:3103
Function
test_cli_populate_by_name_with_alias_choices
(config_override)
tests/test_source_cli.py:426
Function
test_cli_remove_empty_groups
(capsys, monkeypatch)
tests/test_source_cli.py:1900
Function
test_cli_self_referential_model
https://github.com/pydantic/pydantic-settings/issues/781. Self-referential models should not cause infinite recursion in CLI arg parser.
tests/test_source_cli.py:2822
Function
test_cli_serialize_non_default_values
()
tests/test_source_cli.py:3242
Function
test_cli_serialize_ordering
()
tests/test_source_cli.py:3256
Function
test_cli_serialize_positional_args
()
tests/test_source_cli.py:3179
Function
test_cli_serialize_styles
()
tests/test_source_cli.py:3294
Function
test_cli_set_arg
()
tests/test_source_cli.py:936
← previous
next →
301–400 of 697, ranked by callers