Skip to content

Commit

Permalink
fix: only log the string values of the _ALL_EXPOSED_TYPES
Browse files Browse the repository at this point in the history
  • Loading branch information
trgiangdo committed Dec 25, 2024
1 parent 2e143bb commit 4ccf4eb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion taipy/core/config/checkers/_data_node_config_checker.py
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,9 @@ def _check_exposed_type(self, data_node_config_id: str, data_node_config: DataNo
if not isinstance(data_node_config.exposed_type, str):
return
if data_node_config.exposed_type not in DataNodeConfig._ALL_EXPOSED_TYPES:
valid_exposed_types_str = ", ".join([f'"{x}"' for x in DataNodeConfig._ALL_EXPOSED_TYPES])
valid_exposed_types_str = ", ".join(
[f'"{x}"' for x in DataNodeConfig._ALL_EXPOSED_TYPES if isinstance(x, str)]
)
self._error(
data_node_config._EXPOSED_TYPE_KEY,
data_node_config.exposed_type,
Expand Down

0 comments on commit 4ccf4eb

Please sign in to comment.