Skip to content

Fix logger config for datastores without _config - #710

Open
Mayank-Bajoria wants to merge 1 commit into
mllam:mainfrom
Mayank-Bajoria:fix-709-datastore-config
Open

Fix logger config for datastores without _config#710
Mayank-Bajoria wants to merge 1 commit into
mllam:mainfrom
Mayank-Bajoria:fix-709-datastore-config

Conversation

@Mayank-Bajoria

Copy link
Copy Markdown

Summary

This PR updates setup_training_logger to avoid assuming that every datastore exposes a private _config attribute.

It replaces direct access to:

datastore._config

with:

getattr(datastore, "_config", None)

This prevents an AttributeError for datastores that do not implement _config while preserving the existing behavior for datastores that do.

Issue

Closes #709

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

setup_training_logger assumes every datastore exposes a private _config

1 participant