Closed leits closed 2 years ago
Found good examples in the repository: https://github.com/deta/deta-python/blob/master/deta/base.py#L84-L86
Thanks @leits for the feedback! We will consider it in our next release. I think in general, we need to raise better errors.
thanks Andrii! should be resolved by #69
https://docs.python.org/3/reference/simple_stmts.html#the-assert-statement and https://stackoverflow.com/questions/944592/best-practice-for-using-assert
Please, don't use asserts outside of tests 😃