From 4d2f13e6e33ca81d564caf89037c5440a4ab7ee2 Mon Sep 17 00:00:00 2001 From: Fanilo-Nantenaina Date: Tue, 30 Dec 2025 18:41:35 +0300 Subject: [PATCH] Corrected usage that caused "UserWarning: Valid config keys have changed in V2" --- schemas/articles/articles.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemas/articles/articles.py b/schemas/articles/articles.py index 1077db9..976d4fd 100644 --- a/schemas/articles/articles.py +++ b/schemas/articles/articles.py @@ -838,7 +838,7 @@ class MouvementStockLigneRequest(BaseModel): ) class Config: - schema_extra = { + json_schema_extra = { "example": { "article_ref": "ARTS-001", "quantite": 50.0,