File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -1348,12 +1348,21 @@ class Color(Enum):
1348
1348
1349
1349
class MissingSentinelSchema (TypedDict , total = False ):
1350
1350
type : Required [Literal ['missing-sentinel' ]]
1351
+ metadata : dict [str , Any ]
1352
+ serialization : SerSchema
1351
1353
1352
1354
1353
- def missing_sentinel_schema () -> MissingSentinelSchema :
1355
+ def missing_sentinel_schema (
1356
+ metadata : dict [str , Any ] | None = None ,
1357
+ serialization : SerSchema | None = None ,
1358
+ ) -> MissingSentinelSchema :
1354
1359
"""Returns a schema for the `MISSING` sentinel."""
1355
1360
1356
- return {'type' : 'missing-sentinel' }
1361
+ return _dict_not_none (
1362
+ type = 'missing-sentinel' ,
1363
+ metadata = metadata ,
1364
+ serialization = serialization ,
1365
+ )
1357
1366
1358
1367
1359
1368
# must match input/parse_json.rs::JsonType::try_from
You can’t perform that action at this time.
0 commit comments