Arthur Crepin-Leblond

Results 9 comments of Arthur Crepin-Leblond

Alright, sorry for not mentioning the context how I ran into this :-). I have a system with 2 A/B partitions of 2.5GiB each. But my root filesystem is not...

Yeah I guess reading the whole partition is not that bad but I can definitely try to create a PR to only read the available space. Also, I'm trying this...

I can confirm the issue as well. I upgraded to bookworm and get the same error.

Seems like I'm getting the same issue on 1.10.14 now ;-) ``` File "pydantic/main.py", line 186, in pydantic.main.ModelMetaclass.__new__ TypeError: Argument 'bases' has incorrect type (expected list, got tuple) ```

Hi again (hihi), seems like 1.10.15 has exactly the same issue

Yeah, this is what I am doing for now, I create my object this way ``` MySuperModel({'some_field': 'foo'}) ``` which is basically the same as you propose, it works but...

Regarding the conversion to a dictionary it's anyway not an issue for now as converting a dict to json is fairly easy :-) since the Object is anyway created from...

I agree with you it's an easy task, I'm not able to provide a solution here.

oh thank you! Didn't notice that one