Comments (8)
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
JustAnotherArchivist/snscrape#111
Carsten-Leue/ReduxPY#2
from modelkit.
HTe simplest seems to rewrite the CacheItem class without NamedTuple
from modelkit.
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.
from modelkit.
from modelkit.
it works but we loose the item typing
from modelkit.
Of course, but do not want to lose typing 😄
from modelkit.
Here is PR to fix this issue #62
from modelkit.
Closed in #62
from modelkit.
Related Issues (20)
- The describe function is not in the documentation
- Update/Upgrade requirement.txt and requirement-dev.txt
- Add __init__.py for Profilers
- "Net duration" statistic of SimpleProfiler is wrong when using memory caching HOT 2
- Deprecated comment in cli assets
- merge assets 'new' and 'update' cli
- Warn or raise Exception when 2 models have the same name
- test_simple_profiler is not idempotent
- assets new and update compatible with s3/gs remote files
- Easy way to override asset for local development? HOT 2
- Ignore modules in library search path
- An Asset can't depend on a Model (lazy_loading) HOT 1
- Set MODELKIT_ENABLE_SIMPLE_TRACEBACK for pytest
- Prefer httpx over aiohttp and requests
- Uploaded asset names with unsupported characters are not checked against asset spec, and cannot be downloaded
- pydantic >= 2.0 breaks BaseSettings HOT 1
- MRO is not respected in the class `Asset` HOT 1
- Pydantic 2 HOT 2
- LibrarySettings fails to instantiate when MODELKIT_CACHE_PROVIDER is set (except with "redis" provider)
- Update modelkit/assets/cli.py after drivers changes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from modelkit.