Skip to content

Commit

Permalink
Update benchmarks
Browse files Browse the repository at this point in the history
  • Loading branch information
dmontagu committed Aug 14, 2023
1 parent 66d7ebf commit a3aaa48
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions tests/benchmarks/complete_schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,24 +83,28 @@ def wrap_function(input_value, validator, info):
'max_length': 42,
},
},
'field_tuple_var_len_any': {'type': 'model-field', 'schema': {'type': 'tuple-variable'}},
'field_tuple_var_len_any': {
'type': 'model-field',
'schema': {'type': 'tuple', 'items_schema': [{'type': 'any'}], 'variadic_item_index': 0},
},
'field_tuple_var_len_float': {
'type': 'model-field',
'schema': {'type': 'tuple-variable', 'items_schema': {'type': 'float'}},
'schema': {'type': 'tuple', 'items_schema': [{'type': 'float'}], 'variadic_item_index': 0},
},
'field_tuple_var_len_float_con': {
'type': 'model-field',
'schema': {
'type': 'tuple-variable',
'items_schema': {'type': 'float'},
'type': 'tuple',
'items_schema': [{'type': 'float'}],
'variadic_item_index': 0,
'min_length': 3,
'max_length': 42,
},
},
'field_tuple_fix_len': {
'type': 'model-field',
'schema': {
'type': 'tuple-positional',
'type': 'tuple',
'items_schema': [{'type': 'str'}, {'type': 'int'}, {'type': 'float'}, {'type': 'bool'}],
},
},
Expand Down

0 comments on commit a3aaa48

Please sign in to comment.