Skip to content

Commit c13e2fe

Browse files
use 'ConfigDict' instead of raw dictionary object
Co-authored-by: Kori Kuzma <[email protected]>
1 parent 630a4f5 commit c13e2fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/anyvlm/schemas/vlm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class ReturnedSchema(BaseModel):
4646
alias="schema",
4747
)
4848

49-
model_config = {"populate_by_name": True}
49+
model_config = ConfigDict(populate_by_name=True)
5050

5151

5252
class Meta(BaseModel):

0 commit comments

Comments
 (0)