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 9ec131e commit 73bc6c4Copy full SHA for 73bc6c4
src/sagemaker/serve/builder/schema_builder.py
@@ -216,6 +216,12 @@ def __repr__(self):
216
f"input_deserializer={self.input_deserializer._deserializer}\n"
217
f"output_deserializer={self.output_deserializer._deserializer})"
218
)
219
+ elif hasattr(self, "custom_input_translator") and hasattr(self, "custom_output_translator"):
220
+ return (
221
+ f"SchemaBuilder(\n"
222
+ f"custom_input_translator={self.custom_input_translator}\n"
223
+ f"custom_output_translator={self.custom_output_translator}\n"
224
+ )
225
226
def generate_marshalling_map(self) -> dict:
227
"""Generate marshalling map for the schema builder"""
0 commit comments