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 9af767d commit ff1759dCopy full SHA for ff1759d
src/genie_python/genie_waitfor.py
@@ -356,6 +356,9 @@ def start_waiting(
356
)
357
358
if block is not None:
359
+ if not isinstance(block, str):
360
+ raise TypeError("first argument must be a valid block name or None, not {}".format(block))
361
+
362
if not self.api.block_exists(block):
363
raise NameError('No block with the name "{}" exists'.format(block))
364
block = self.api.correct_blockname(block, add_prefix=False)
0 commit comments