Skip to content

Commit 24ceff1

Browse files
authored
Log the input name instead of value input (#103)
1 parent 2eb9ce7 commit 24ceff1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

flytekit/common/tasks/sdk_runnable.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -492,8 +492,8 @@ def _validate_inputs(self, inputs):
492492
for k, v in _six.iteritems(inputs):
493493
if not self._is_argname_in_function_definition(k):
494494
raise _user_exceptions.FlyteValidationException(
495-
"The input '{}' was not specified in the task function. Therefore, this input cannot be "
496-
"provided to the task.".format(v)
495+
"The input named '{}' was not specified in the task function. Therefore, this input cannot be "
496+
"provided to the task.".format(k)
497497
)
498498
if _type_helpers.get_sdk_type_from_literal_type(v.type) in type(self)._banned_inputs:
499499
raise _user_exceptions.FlyteValidationException(

0 commit comments

Comments
 (0)