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 ca52f47 commit 35d5381Copy full SHA for 35d5381
backend/schemas.py
@@ -95,7 +95,12 @@ class Meta:
95
outputs = ma.List(ma.Nested(OutputTensorSchema()))
96
inputs = ma.List(ma.Nested(InputTensorSchema()))
97
arguments = ma.List(ma.Nested(OperationArgumentsSchema()))
98
+ stack_trace = ma.Method("get_stack_trace")
99
100
+ def get_stack_trace(self, obj):
101
+ if obj.stack_trace and len(obj.stack_trace):
102
+ return next(x for x in obj.stack_trace).stack_trace
103
+ return ""
104
105
# Filesystem Schemas
106
class RemoteConnectionSchema(ma.Schema):
0 commit comments