refactor(playout): fix deprecation warnings (#2847)

### Description
Fix pydantic deprecation warnings after upgrade to v2.
This commit is contained in:
Jonas L 2023-12-28 14:19:29 +01:00 committed by GitHub
parent 3f396895e5
commit 9d6061e42e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 13 deletions

View file

@ -31,7 +31,7 @@ def generate_entrypoint(
paths["log_filepath"] = log_filepath.resolve()
return templates.get_template("entrypoint.liq.j2").render(
config=config.copy(),
config=config.model_copy(),
preferences=preferences,
info=info,
paths=paths,