Closed CyrilLeMat closed 3 years ago
From what I see, this seems to be an update of NamesTuple in python 3.9 https://bugs.python.org/issue43923 https://bugs.python.org/issue40185
https://github.com/JustAnotherArchivist/snscrape/issues/111 https://github.com/Carsten-Leue/ReduxPY/issues/2
HTe simplest seems to rewrite the CacheItem class without NamedTuple
HTe simplest seems to rewrite the CacheItem class without NamedTuple
Indeed, it looks like we should use a dataclass
instead. The goal with the NamedTuple
was to get really fast instantiation of these items. I will work on a PR to fix this later today.
I just did this
it works but we loose the item typing
Of course, but do not want to lose typing 😄
Here is PR to fix this issue https://github.com/clustree/modelkit/pull/62
Closed in #62
I had this error running pytest in python 3.9.5