bogdandm

Results 8 comments of bogdandm

This project is designed to generate models from large json datasets. So default value could be generated only when there is just one value for given field in whole dataset....

Thank you for reporting. I agree that it should work as you described. Unfortunately its requires some untrvial changes to the core logic of generator and currently I don't have...

I'm not familiar with [SQLModel](https://sqlmodel.tiangolo.com/) and do not have plans for it, but looks like it will require only some templates changes at https://github.com/bogdandm/json2python-models/blob/master/json_to_models/models/pydantic.py#L23 (by inheritance PydanticModelCodeGenerator or creating some...

We also have same or similar problem. ``` 18/Oct/2023 13:12:33.283 ERROR [common.components.base.base:303] ../Objects/dictobject.c:1899: bad argument to internal function Traceback (most recent call last): File ".../common/components/base.py", line 299, in _get_data result[comp.name]...

@davidhewitt I haven't been able to figure out yet how to get more detailed logs or usual "core dumped" error (until now I believed that it is default behavior, at...

Okay, I can reproduce it within gdb , so there is stack trace ``` Thread 1 "python" received signal SIGSEGV, Segmentation fault. 0x0000000000529d7a in PyObject_GetIter () (gdb) bt #0 0x0000000000529d7a...

Nothing specific. It is actually one super large model that describes whole page on one site. I also suspects some memory corruption, at some point I have weird objects that...

I contacted @ davidhewitt and give him all logs that I was able to collect from my project. So now all hope is that he will be able to figure...