How to fix RecursionError: maximum recursion depth exceeded while calling a Python object in Python | DevErrors