Skip to content

Commit

Permalink
fix(build): setattr frozen sets (#5207)
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Pham <contact@aarnphm.xyz>
  • Loading branch information
aarnphm authored Feb 12, 2025
1 parent c935e7b commit 30c70d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bentoml/bentos.py
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ def build_bentofile(

if labels:
if not build_config.labels:
build_config.labels = labels
object.__setattr__(build_config, "labels", labels)
build_config.labels.update(labels)

bento = Bento.create(
Expand Down

0 comments on commit 30c70d1

Please sign in to comment.