Tags: kvcache/client-sdk-python
Tags
fix: Handle GRPC Error Codes. (momentohq#42) * fix: Rename Error and tighten cache name validations Fix for momentohq#23 - CacheValueError is a confusing name for surfacing INVALID_ARGUMENT errors. It can be easily confused with something related to setting a value in Cache. Proposing `CacheValueError` is renamed to `InvalidArgumentError` Fix for momentohq#24 - Given the type-safety in python, customers can accidentally pass unsupported types. This results in a ClientSdkException when in fact it is an Invalid Input Error. We already type check our keys, values, ttl, so just adding one for cache name. Though it may be just wise to let the type errors pass through. * fix broken error * fix tests * rename errors * remove unwanted import * update check * fix: use None check, not seems to checking empty str that we don't want to check on SDK * fix: doc strings * Update src/momento/errors.py Co-authored-by: Ruth Linehan <[email protected]> * fix docstrings * rename exception * update docstring * Update src/momento/simple_cache_client.py Co-authored-by: Ruth Linehan <[email protected]> * fix error message Co-authored-by: Ruth Linehan <[email protected]>
fix: Method Names and Add Code Hints (momentohq#41) * fix: Method Names and Add Code Hints Bugs: momentohq#33, momentohq#30 * Update tests/test_momento.py Co-authored-by: Ruth Linehan <[email protected]> Co-authored-by: Ruth Linehan <[email protected]>
fix: Integration tests (momentohq#39) Service now returns INVALID_ARGUMENT on empty cache header.
fix: Use relative imports (momentohq#34) * fix: Use relative imports * fix test * revert unwarranted refactor
PreviousNext