cadwyn 5.5.0__py3-none-any.whl → 5.6.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cadwyn might be problematic. Click here for more details.
- cadwyn/structure/schemas.py +4 -0
- {cadwyn-5.5.0.dist-info → cadwyn-5.6.0.dist-info}/METADATA +1 -1
- {cadwyn-5.5.0.dist-info → cadwyn-5.6.0.dist-info}/RECORD +6 -6
- {cadwyn-5.5.0.dist-info → cadwyn-5.6.0.dist-info}/WHEEL +0 -0
- {cadwyn-5.5.0.dist-info → cadwyn-5.6.0.dist-info}/entry_points.txt +0 -0
- {cadwyn-5.5.0.dist-info → cadwyn-5.6.0.dist-info}/licenses/LICENSE +0 -0
cadwyn/structure/schemas.py
CHANGED
|
@@ -58,6 +58,7 @@ PossibleFieldAttributes = Literal[
|
|
|
58
58
|
"allow_mutation",
|
|
59
59
|
"pattern",
|
|
60
60
|
"discriminator",
|
|
61
|
+
"json_schema_extra",
|
|
61
62
|
]
|
|
62
63
|
|
|
63
64
|
|
|
@@ -100,6 +101,7 @@ class FieldChanges:
|
|
|
100
101
|
allow_mutation: bool
|
|
101
102
|
pattern: str
|
|
102
103
|
discriminator: str
|
|
104
|
+
json_schema_extra: Union[dict[str, Any], Callable[[dict[str, Any]], None], None]
|
|
103
105
|
|
|
104
106
|
|
|
105
107
|
@dataclass(**DATACLASS_SLOTS)
|
|
@@ -178,6 +180,7 @@ class AlterFieldInstructionFactory:
|
|
|
178
180
|
allow_mutation: bool = Sentinel,
|
|
179
181
|
pattern: str = Sentinel,
|
|
180
182
|
discriminator: str = Sentinel,
|
|
183
|
+
json_schema_extra: Union[dict[str, Any], Callable[[dict[str, Any]], None], None] = Sentinel,
|
|
181
184
|
) -> FieldHadInstruction:
|
|
182
185
|
return FieldHadInstruction(
|
|
183
186
|
is_hidden_from_changelog=False,
|
|
@@ -222,6 +225,7 @@ class AlterFieldInstructionFactory:
|
|
|
222
225
|
allow_mutation=allow_mutation,
|
|
223
226
|
pattern=pattern,
|
|
224
227
|
discriminator=discriminator,
|
|
228
|
+
json_schema_extra=json_schema_extra,
|
|
225
229
|
),
|
|
226
230
|
)
|
|
227
231
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: cadwyn
|
|
3
|
-
Version: 5.
|
|
3
|
+
Version: 5.6.0
|
|
4
4
|
Summary: Production-ready community-driven modern Stripe-like API versioning in FastAPI
|
|
5
5
|
Project-URL: Source code, https://github.com/zmievsa/cadwyn
|
|
6
6
|
Project-URL: Documentation, https://docs.cadwyn.dev
|
|
@@ -22,10 +22,10 @@ cadwyn/structure/common.py,sha256=YuyfYMxkJcj2c5SFh9teBoEC2xLO5_2QjPzYjwdZcTs,47
|
|
|
22
22
|
cadwyn/structure/data.py,sha256=eb4HlGTu3V_G5vJuQ4GLEaGd4LmPmFX3L8CXwJKzfOE,7795
|
|
23
23
|
cadwyn/structure/endpoints.py,sha256=OYNaZ76VidtSutQfteFMba5nNIXtEjwCAvgpy3fRBT4,6246
|
|
24
24
|
cadwyn/structure/enums.py,sha256=4FCc9aniLE3VuWAVIacrNP_FWxTIUm9JkeeHA_zZdwQ,1254
|
|
25
|
-
cadwyn/structure/schemas.py,sha256=
|
|
25
|
+
cadwyn/structure/schemas.py,sha256=qQB9kSIpq1O_3-CWSKv80ti6unTqSMnisXWBffPrmUA,11049
|
|
26
26
|
cadwyn/structure/versions.py,sha256=3ZDKewBHHWmAwhOQbIR5p17ANzqglMDTvYUGKTAqXyk,34710
|
|
27
|
-
cadwyn-5.
|
|
28
|
-
cadwyn-5.
|
|
29
|
-
cadwyn-5.
|
|
30
|
-
cadwyn-5.
|
|
31
|
-
cadwyn-5.
|
|
27
|
+
cadwyn-5.6.0.dist-info/METADATA,sha256=OZQl9_XaI231EvbevfASNWG2OYbKv7jlzvqqynkaGjY,4504
|
|
28
|
+
cadwyn-5.6.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
29
|
+
cadwyn-5.6.0.dist-info/entry_points.txt,sha256=mGX8wl-Xfhpr5M93SUmkykaqinUaYAvW9rtDSX54gx0,47
|
|
30
|
+
cadwyn-5.6.0.dist-info/licenses/LICENSE,sha256=KeCWewiDQYpmSnzF-p_0YpoWiyDcUPaCuG8OWQs4ig4,1072
|
|
31
|
+
cadwyn-5.6.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|