Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5566, in _resolve_list_annotation
cls._resolve_abstract_type(args[0], type_hints, tuple(new_path), scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5130, in _resolve_abstract_type
result = cls._resolve(t, type_hints, path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5189, in _resolve
return cls._resolve_annotated(t, type_hints, path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5504, in _resolve_annotated
underlying_t = cls._resolve(args[0], args_hints[0], path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5187, in _resolve
return cls._resolve_union(t, type_hints, path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5679, in _resolve_union
f = cls._resolve_field(args[i], arg_hints[i], tuple(new_path), scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5151, in _resolve_field
result = cls._resolve(t, type_hints, path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5189, in _resolve
return cls._resolve_annotated(t, type_hints, path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5504, in _resolve_annotated
underlying_t = cls._resolve(args[0], args_hints[0], path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5167, in _resolve
return cls._resolve_type(t, type_hints, path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5213, in _resolve_type
return cls._resolve_class(t, type_hints, path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5366, in _resolve_class
name, final_field = cls._resolve_dataclass_field(f, type_hints[f.name], tuple(new_path), scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5301, in _resolve_dataclass_field
underlying_type.default = json.dumps(default)
File "/usr/lib64/python3.9/json/__init__.py", line 231, in dumps
return _default_encoder.encode(obj)
File "/usr/lib64/python3.9/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/lib64/python3.9/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "/usr/lib64/python3.9/json/encoder.py", line 179, in default
raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type IProtocol is not JSON serializable
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5566, in _resolve_list_annotation
cls._resolve_abstract_type(args[0], type_hints, tuple(new_path), scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5130, in _resolve_abstract_type
result = cls._resolve(t, type_hints, path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5167, in _resolve
return cls._resolve_type(t, type_hints, path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5213, in _resolve_type
return cls._resolve_class(t, type_hints, path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5366, in _resolve_class
name, final_field = cls._resolve_dataclass_field(f, type_hints[f.name], tuple(new_path), scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5243, in _resolve_dataclass_field
underlying_type = cls._resolve_field(t.type, type_hints, path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5151, in _resolve_field
result = cls._resolve(t, type_hints, path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5183, in _resolve
return cls._resolve_list_annotation(t, type_hints, path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5569, in _resolve_list_annotation
raise SchemaBuildException(path, "Failed to create list type") from e
arcaflow_plugin_sdk.schema.SchemaBuildException: Invalid schema definition for Profile -> groups -> items -> transactions -> items -> flowops: Failed to create list type
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5566, in _resolve_list_annotation
cls._resolve_abstract_type(args[0], type_hints, tuple(new_path), scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5130, in _resolve_abstract_type
result = cls._resolve(t, type_hints, path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5167, in _resolve
return cls._resolve_type(t, type_hints, path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5213, in _resolve_type
return cls._resolve_class(t, type_hints, path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5366, in _resolve_class
name, final_field = cls._resolve_dataclass_field(f, type_hints[f.name], tuple(new_path), scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5243, in _resolve_dataclass_field
underlying_type = cls._resolve_field(t.type, type_hints, path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5151, in _resolve_field
result = cls._resolve(t, type_hints, path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5183, in _resolve
return cls._resolve_list_annotation(t, type_hints, path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5569, in _resolve_list_annotation
raise SchemaBuildException(path, "Failed to create list type") from e
arcaflow_plugin_sdk.schema.SchemaBuildException: Invalid schema definition for Profile -> groups -> items -> transactions: Failed to create list type
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/plugin/test_uperf_plugin.py", line 4, in <module>
import uperf_plugin
File "/plugin/uperf_plugin.py", line 136, in <module>
def run_uperf(params: Profile) -> typing.Tuple[str, typing.Union[UPerfResults, UPerfError]]:
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/plugin.py", line 76, in step_decorator
input=build_object_schema(input_param.annotation),
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5755, in build_object_schema
r = _SchemaBuilder.resolve(t, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5120, in resolve
return cls._resolve_abstract_type(t, t, tuple(path), scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5130, in _resolve_abstract_type
result = cls._resolve(t, type_hints, path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5167, in _resolve
return cls._resolve_type(t, type_hints, path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5213, in _resolve_type
return cls._resolve_class(t, type_hints, path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5366, in _resolve_class
name, final_field = cls._resolve_dataclass_field(f, type_hints[f.name], tuple(new_path), scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5243, in _resolve_dataclass_field
underlying_type = cls._resolve_field(t.type, type_hints, path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5151, in _resolve_field
result = cls._resolve(t, type_hints, path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5183, in _resolve
return cls._resolve_list_annotation(t, type_hints, path, scope)
File "/usr/local/lib/python3.9/site-packages/arcaflow_plugin_sdk/schema.py", line 5569, in _resolve_list_annotation
raise SchemaBuildException(path, "Failed to create list type") from e
arcaflow_plugin_sdk.schema.SchemaBuildException: Invalid schema definition for Profile -> groups: Failed to create list type
Both cause the above error.