Skip to content

Commit

Permalink
supporting list values
Browse files Browse the repository at this point in the history
  • Loading branch information
bojiang committed Sep 20, 2022
1 parent 5dc3a0e commit 389eb96
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions bentoml/_internal/configuration/containers.py
@@ -1,6 +1,7 @@
from __future__ import annotations

import os
import json
import uuid
import typing as t
import logging
Expand Down Expand Up @@ -267,8 +268,7 @@ def __init__(

if override_config_values is not None:
logger.info(
"Applying user config override from ENV VAR: %s"
% override_config_values
"Applying user config override from ENV VAR: %s", override_config_values
)
lines = split_with_quotes(
override_config_values,
Expand All @@ -277,7 +277,7 @@ def __init__(
use_regex=True,
)
override_config_map = {
k: v
k: json.loads(v)
for k, v in [
split_with_quotes(line, sep="=", quote='"') for line in lines
]
Expand Down

0 comments on commit 389eb96

Please sign in to comment.