We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
On line 101 of custom.py there is an assert line:
assert handler is not None
and below it, there is a TypeError raised if assert is true:
if handler is None: raise TypeError("Your input type to custom model is not currently supported")
this TypeError is not returning to developer and makes it hard to understand the cause of the error.
It seems asserting line is not necessary. Can we remove it?
The text was updated successfully, but these errors were encountered:
Here is an image of relevant code and its link:
snowflake-ml-python/snowflake/ml/model/_packager/model_handlers/custom.py
Line 101 in 7bc5f40
Sorry, something went wrong.
remove assert that masks type error snowflakedb#135
be57dfe
No branches or pull requests
On line 101 of custom.py there is an assert line:
assert handler is not None
and below it, there is a TypeError raised if assert is true:
if handler is None: raise TypeError("Your input type to custom model is not currently supported")
this TypeError is not returning to developer and makes it hard to understand the cause of the error.
It seems asserting line is not necessary. Can we remove it?
The text was updated successfully, but these errors were encountered: