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

Add contains(id:) method to AbstractModelRegistry and ModelFactory #233

Merged
merged 3 commits into from
Mar 10, 2025

Conversation

ibrahimcetin
Copy link
Contributor

This PR adds contains(id:) method.

I added var modelRegistry: AbstractModelRegistry { get } to ModelFactory protocol to add default implementations for configuration(id:) and contains(id:) methods. This will reduce code duplications.

Copy link
Collaborator

@davidkoski davidkoski left a comment

Choose a reason for hiding this comment

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

Looks good, thank you!

@davidkoski davidkoski merged commit 11cab4c into ml-explore:main Mar 10, 2025
3 checks passed
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.

2 participants