Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix - Only log the string values of the _ALL_EXPOSED_TYPES when run the _DataNodeConfigChecker #2368

Merged
merged 1 commit into from
Dec 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading