Skip to content

Commit

Permalink
qf
Browse files Browse the repository at this point in the history
  • Loading branch information
unkcpz committed Nov 27, 2024
1 parent 4150816 commit 8c7b0c4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/test_expose.py
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,8 @@ def validator(cls, value, ctx):
return None

if not isinstance(value['a'], str):
return f'value for input `a` should be a str, but got: {type(value["a"])}'
a_type = type(value['a'])
return f'value for input `a` should be a str, but got: {a_type}'

class ExposeProcess(NewLoopProcess):
@classmethod
Expand Down

0 comments on commit 8c7b0c4

Please sign in to comment.