Attila Kóbor

Results 17 comments of Attila Kóbor

@davidhewitt I installed 2.7.0b1, to run some memray test with just importing a ~5000 line generated complex model file. Compared to 2.6 it's better, but comparing to v1 it's really...

Maybe a good example for optimization: ``` # generate V1 models: datamodel-codegen --url https://github.com/kubernetes/kubernetes/raw/master/api/openapi-spec/swagger.json > k8s_v1.py # generate V2 models: datamodel-codegen --url https://github.com/kubernetes/kubernetes/raw/master/api/openapi-spec/swagger.json --output-model-type=pydantic_v2.BaseModel > k8s_v2.py ``` I did the...

> Can you say more about this? Why? @korhojoa Pretty much nailed the answer. > The current workaround is to have multiple rounds of installing with different package indexes, but...

I think the `--index-strategy` flag solves this question.

Any update on this? openapi-generator v6.3.0 is released already.

@truenicoco > I did some basic profiling over _huge_ RAM allocation by pydantic 2 here: [pylakey/aiotdlib#135](https://github.com/pylakey/aiotdlib/issues/135) I don't think they are looking at this issue anymore (no new replies to...

I have a similar problem. **CASE A:** - Lets say you have a PKG with 1 yanked version available in UV_INDEX_URL or pypi.org - You have the same package in...

> What's the case in which you're seeing `error: Missing `Content-Type` header for /PKG`? That seems like a bug in the registry, but perhaps we can handle it gracefully. -...

Yes I can confirm using `--no-cache` removes the error message. Do you know anything about using multiple extra-index-urls, is that supposed to work? it only resolved the package if it...

> > Do you know anything about using multiple extra-index-urls, is that supposed to work? > > it only resolved the package if it was in the first one, tried...