Skip to content

Commit 9b0e313

Browse files
committed
Fix pydantic deprecation: use model_copy instead of copy
1 parent 78b49ac commit 9b0e313

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cli/polyaxon/_flow/plugins/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ def get_or_create(
286286
if not config:
287287
config = cls(auth=auth)
288288
else:
289-
config = config.copy()
289+
config = config.model_copy()
290290
config.set_auth(default=auth)
291291
config.set_docker()
292292
config.set_shm()

0 commit comments

Comments
 (0)