does anyone knows what could be reason that I get ...
# questions
e
does anyone knows what could be reason that I get a random error while using
ThreadRunner()
in some runs I get this, in other I dont, so weird
Copy code
RuntimeError: dictionary changed size during iteration
Copy code
│ /Users/some_guy/miniconda3/envs/some_env/lib/python3.9/site-packages/kedro/io/data │
│ _catalog.py:223 in __repr__                                                                      │
│                                                                                                  │
│   220 │   │   │   self.add_feed_dict(feed_dict)                                                  │
│   221 │                                                                                          │
│   222 │   def __repr__(self) -> str:                                                             │
│ ❱ 223 │   │   return self.datasets.__repr__()                                                    │
│   224 │                                                                                          │
│   225 │   @property                                                                              │
│   226 │   def _logger(self) -> logging.Logger:                                                   │
│                                                                                                  │
│ /Users/some_guy/miniconda3/envs/some_env/lib/python3.9/site-packages/kedro/io/data │
│ _catalog.py:143 in __repr__                                                                      │
│                                                                                                  │
│   140 │                                                                                          │
│   141 │   def __repr__(self) -> str:                                                             │
│   142 │   │   datasets_repr = {}                                                                 │
│ ❱ 143 │   │   for ds_name in self._original_names.keys():                                        │
│   144 │   │   │   datasets_repr[ds_name] = self.__dict__[                                        │
│   145 │   │   │   │   _sub_nonword_chars(ds_name)                                                │
│   146 │   │   │   ].__repr__()
j
Hi Erwin, What versions of Python and Kedro are you using?
e
v0.19.8 and python 3.9.16
👍 1