We got stuck with the error that we set the redis connection string so SESSION_REDIS, with results in setting self.redis correctly, but then getting the error that str does not have method get. This asserts type safety and is more verbose.
Another way would be that you could check if it is of type string and then create a Redis Instance from there.
We got stuck with the error that we set the redis connection string so SESSION_REDIS, with results in setting self.redis correctly, but then getting the error that str does not have method get. This asserts type safety and is more verbose.
Another way would be that you could check if it is of type string and then create a Redis Instance from there.