handles the case where an loc item might be an int, when you are referring an index in a list input type
File "/home/nmclean/.cache/pypoetry/virtualenvs/global-calculator-UYA1GDje-py3.11/lib/python3.11/site-packages/prefect/exceptions.py", line 181, in <listcomp>
bad_params = [f'{".".join(err["loc"])}: {err["msg"]}' for err in exc.errors()]
^^^^^^^^^^^^^^^^^^^^
TypeError: sequence item 1: expected str instance, int found
closes #14406
handles the case where an
loc
item might be anint
, when you are referring an index in a list input type