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 is_compatible API to ModelScan SDK #90

Closed
willarmiros opened this issue Jan 23, 2024 · 0 comments · Fixed by #91
Closed

Add is_compatible API to ModelScan SDK #90

willarmiros opened this issue Jan 23, 2024 · 0 comments · Fixed by #91
Assignees
Labels
enhancement New feature or request

Comments

@willarmiros
Copy link
Member

willarmiros commented Jan 23, 2024

Today, ModelScan checks file extensions to determine if a file is able to be scanned. It would be nice to have an API that just does this check, so that we don't have to perform an entire scan to see if a file is compatible or not. Add a is_compatible(path: str) -> bool API to ModelScan that just checks the extension for compatibility.

@willarmiros willarmiros added the enhancement New feature or request label Jan 23, 2024
@swashko swashko self-assigned this Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants