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 dcf3111 commit 49bac74Copy full SHA for 49bac74
packages/toolbox-core/tests/test_protocol.py
@@ -108,6 +108,7 @@ def test_parameter_schema_unsupported_type_error():
108
with pytest.raises(ValueError, match=expected_error_msg):
109
schema.to_param()
110
111
+
112
def test_parameter_schema_string_optional():
113
"""Tests an optional ParameterSchema with type 'string'."""
114
schema = ParameterSchema(
@@ -168,4 +169,4 @@ def test_parameter_schema_array_optional():
168
169
assert param.name == "optional_scores"
170
assert param.annotation == expected_type
171
assert param.kind == Parameter.POSITIONAL_OR_KEYWORD
- assert param.default is None
172
+ assert param.default is None
0 commit comments