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

[BUGFIX] Fix error with the instantiation of a Checkpoint from a CheckpointConfig #44

Merged
merged 4 commits into from
Feb 2, 2022

Conversation

talagluck
Copy link
Contributor

Due to changes to the signature of the Checkpoint class, an error was being thrown when instantiating a Checkpoint from a Checkpoint Config. This PR updates the method of instantiation to use instantiate_class_from_config which is a more appropriate means of doing this.

It also contains changes necessary for the release of a new version.

Copy link
Contributor

@cdkini cdkini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM thanks for this!

Comment on lines 144 to 146
# self.checkpoint = Checkpoint(
# data_context=self.data_context, **self.checkpoint_config.to_json_dict()
# )
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we get rid of this commented out code in place of the new pattern?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Already done! Changes just pushed.

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.

None yet

3 participants