UserWarning: Field “model_server_url“ has conflict with protected namespace “model_“.

UserWarning: Field "model_server_url" has conflict with protected namespace "model_". 

UserWarning: Valid config keys have changed in V2:
* 'schema_extra' has been renamed to 'json_schema_extra'

我这边是项目里使用到了mlflow,启动项目的时候老是有这个两个告警,虽然没有影响到什么功能,但是每次启动都看到。就尝试去修复

让new bing和chatGPT修复了半天也依然不行,就感觉出来了可能是个bug了,

果然在github上看到了,有很多人也遇到了这个问题。 

https://github.com/mlflow/mlflow/issues/10335

我看到有人提出把pydantic 降级来修复问题,但是我不确定这样做会不会影响mlflow某些功能,而且这个告警也没有影响到我现有的功能,就暂时没有做。等官方修复吧
UserWarning: Field “model_server_url“ has conflict with protected namespace “model_“._第1张图片

你可能感兴趣的:(MLFlow,Python,python)