ygbr/mapsnap

Support for providing the key as a bytes

ygbr opened this issue · 0 comments

ygbr commented

If the _key parameter is an instance of bytes, we will try to use it as the key itself instead of opening the path.

If the _key parameter is an instance of str, we will continue the standard behaviour and assume it is a path which we will continue trying to open it as a path provided to open()