-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Pydantic warning: Field "model_server_url" has conflict with protected namespace "model_"
#10335
Comments
I have the same warning |
@mlflow/mlflow-team Please assign a maintainer and start triaging this issue. |
same issue |
I encountered the same issue, which seems related to pydantic. Rolling back pydantic from version v2.5.1 to v1.10.13 resolved the warning for me. |
I have the same problem with pydantic 2.0 |
The issue disappears when instaling pydantic with conda (conda install pydantic -c conda-forge) |
same issue here |
Hi same issue for me too |
same issue |
same issue here |
1 similar comment
same issue here |
For those who still encountered this issue, could you try updating MLflow to the latest version? We have released a patch in v2.9.0: #10483 |
Issues Policy acknowledgement
Where did you encounter this bug?
Local machine
Willingness to contribute
No. I cannot contribute a bug fix at this time.
MLflow version
System information
Describe the problem
Both the client and the UI always emit the following two warnings:
Given that
model_*
attributes have special meaning in pydantic, I guess it's complaining aboutmodel_server_url
not being explicitly whitelisted somewhere. And in the second warning, a deprecatedschema_extra
is being accessed instead of the newjson_schema_extra
.Tracking information
Code to reproduce issue
Stack trace
Other info / logs
What component(s) does this bug affect?
area/artifacts
: Artifact stores and artifact loggingarea/build
: Build and test infrastructure for MLflowarea/docs
: MLflow documentation pagesarea/examples
: Example codearea/gateway
: AI Gateway service, Gateway client APIs, third-party Gateway integrationsarea/model-registry
: Model Registry service, APIs, and the fluent client calls for Model Registryarea/models
: MLmodel format, model serialization/deserialization, flavorsarea/recipes
: Recipes, Recipe APIs, Recipe configs, Recipe Templatesarea/projects
: MLproject format, project running backendsarea/scoring
: MLflow Model server, model deployment tools, Spark UDFsarea/server-infra
: MLflow Tracking server backendarea/tracking
: Tracking Service, tracking client APIs, autologgingWhat interface(s) does this bug affect?
area/uiux
: Front-end, user experience, plotting, JavaScript, JavaScript dev serverarea/docker
: Docker use across MLflow's components, such as MLflow Projects and MLflow Modelsarea/sqlalchemy
: Use of SQLAlchemy in the Tracking Service or Model Registryarea/windows
: Windows supportWhat language(s) does this bug affect?
language/r
: R APIs and clientslanguage/java
: Java APIs and clientslanguage/new
: Proposals for new client languagesWhat integration(s) does this bug affect?
integrations/azure
: Azure and Azure ML integrationsintegrations/sagemaker
: SageMaker integrationsintegrations/databricks
: Databricks integrationsThe text was updated successfully, but these errors were encountered: