1
+ from __future__ import annotations
2
+
1
3
import sys as _sys
2
4
from typing import Any as _Any
3
5
62
64
63
65
class ErrorDetails (_TypedDict ):
64
66
type : str
65
- loc : ' tuple[int | str, ...]'
67
+ loc : tuple [int | str , ...]
66
68
msg : str
67
69
input : _Any
68
- ctx : _NotRequired [' dict[str, str | int | float]' ]
70
+ ctx : _NotRequired [dict [str , str | int | float ]]
69
71
70
72
71
73
class InitErrorDetails (_TypedDict ):
72
- type : ' str | PydanticCustomError'
73
- loc : _NotRequired [' tuple[int | str, ...]' ]
74
+ type : str | PydanticCustomError
75
+ loc : _NotRequired [tuple [int | str , ...]]
74
76
input : _Any
75
- ctx : _NotRequired [' dict[str, str | int | float]' ]
77
+ ctx : _NotRequired [dict [str , str | int | float ]]
76
78
77
79
78
80
class ErrorTypeInfo (_TypedDict ):
@@ -81,11 +83,11 @@ class ErrorTypeInfo(_TypedDict):
81
83
example_message_python : str
82
84
message_template_json : _NotRequired [str ]
83
85
example_message_json : _NotRequired [str ]
84
- example_context : ' dict[str, str | int | float] | None'
86
+ example_context : dict [str , str | int | float ] | None
85
87
86
88
87
89
class MultiHostHost (_TypedDict ):
88
- username : ' str | None'
89
- password : ' str | None'
90
- host : ' str | None'
91
- port : ' int | None'
90
+ username : str | None
91
+ password : str | None
92
+ host : str | None
93
+ port : int | None
0 commit comments