We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d9b28ef commit 924de34Copy full SHA for 924de34
tests/test_settings_py312.py
@@ -11,6 +11,10 @@
11
12
13
def test_annotated_with_type(env):
14
+"""https://github.com/pydantic/pydantic-settings/issues/536.
15
+
16
+PEP 695 type aliases need to be analyzed when determining if an annotation is complex.
17
+"""
18
type MinLenList = Annotated[list[str], MinLen(2)]
19
20
class AnnotatedComplexSettings(BaseSettings):
0 commit comments