File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717 from .json_schema_helper import SchemaMerges
1818 from .types import CleanSpanData
1919
20- from .json_schema_helper import JsonSchema , JsonSchemaHelper
20+ from .json_schema_helper import JsonSchemaHelper
2121from .types import (
2222 Duration ,
2323 PackageType ,
@@ -92,7 +92,7 @@ def convert_mock_request_to_clean_span(
9292 input_schema = input_result .schema ,
9393 input_schema_hash = input_result .decoded_schema_hash ,
9494 input_value_hash = input_result .decoded_value_hash ,
95- output_schema = JsonSchema (),
95+ output_schema = None , # type: ignore[arg-type] - Must be None to avoid betterproto serialization issues
9696 output_schema_hash = "" ,
9797 output_value_hash = "" ,
9898 kind = kind ,
Original file line number Diff line number Diff line change 2222
2323from ...core .communication .types import MockRequestInput
2424from ...core .drift_sdk import TuskDrift
25- from ...core .json_schema_helper import JsonSchema , JsonSchemaHelper
25+ from ...core .json_schema_helper import JsonSchemaHelper
2626from ...core .tracing import TdSpanAttributes
2727from ...core .types import (
2828 CleanSpanData ,
@@ -675,8 +675,8 @@ def _try_get_mock(
675675 submodule_name = "query" ,
676676 input_value = input_value ,
677677 output_value = None ,
678- input_schema = JsonSchema (),
679- output_schema = JsonSchema (),
678+ input_schema = None , # type: ignore[arg-type]
679+ output_schema = None , # type: ignore[arg-type]
680680 input_schema_hash = input_result .decoded_schema_hash ,
681681 output_schema_hash = "" ,
682682 input_value_hash = input_result .decoded_value_hash ,
You can’t perform that action at this time.
0 commit comments