Skip to content

Commit

Permalink
Set defer_build=True pydantic config, improving import time signifi…
Browse files Browse the repository at this point in the history
…cantly (#643)

Co-authored-by: Gabriel de Marmiesse <[email protected]>
  • Loading branch information
LewisGaul and gabrieldemarmiesse authored Oct 23, 2024
1 parent 4531ced commit d992525
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions python_on_whales/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ class DockerCamelModel(pydantic.BaseModel):
model_config = pydantic.ConfigDict(
populate_by_name=True,
alias_generator=to_docker_camel,
defer_build=True,
)


Expand Down

0 comments on commit d992525

Please sign in to comment.