Vignesh M
Vignesh M
@iamed18 nope, haven't found any alternative. Also since i haven't heard back from any of the developers, my current approach is to compile python manually and add the necessary packages...
@lifehackjim this issue about warnings shown for fields that have valid values and not about invalid defaults. In the issue description you can see that the warning is shown for...
@sydney-runkle thanks for the response, the code above fails in my machine. I just recreated a new environment with only python and pydantic and i still get the same error...
Update, i also tested in another machine with a different OS (SUSE 15) and i get the same error ```py conda create -n tt python pydantic conda activate tt python...
@sydney-runkle i also tested with Windows and can reproduce the error. #### Version Info ```py pydantic version: 2.4.2 pydantic-core version: 2.10.1 pydantic-core build: profile=release pgo=false install path: C:\Users\test\AppData\Local\Programs\miniconda3\envs\tt\Lib\site-packages\pydantic python version:...
update , i checked the code and the source seems to be https://github.com/pydantic/pydantic/blob/8f3ac4e30845957d79a12e8963fa37bfa0c9b811/pydantic/json_schema.py#L439 it would be nice to have a flag that also allows non sorted schema output. https://github.com/pydantic/pydantic/blob/8f3ac4e30845957d79a12e8963fa37bfa0c9b811/pydantic/json_schema.py#L389 ###...
@sydney-runkle sure, let me give it a try.
yes, the order of model fields is sorted in the output which is the main issue i have with the schema output. e.g from the issue, ` 'default': {'multi_step': True,...
Yes that works for me.
To second this issue, In our usecase we build the wheel once (`pip wheel . -w dist`)and store it as an artifact which is then used by subsequent pipelines. This...