laetitia-gangloff, right you are again.
I propose to write it explicitly this way, is it OK for you?
if not isinstance(ids, Iterable): ids_to_check = [ids]
else:
# Copy the date to avoid changing 'ids', it would trigger an infinite recursion ids_to_check = list(ids)
laetitia-gangloff, right you are again.
ids_ to_check = [ids]
ids_ to_check = list(ids)
I propose to write it explicitly this way, is it OK for you?
if not isinstance(ids, Iterable):
else:
# Copy the date to avoid changing 'ids', it would trigger an infinite recursion