def type(self, name):
        "Returns the type of key ``name``"
        return self.execute_command('TYPE', name)
Returns the type of key ``name``
stackoverflow/venv/lib/python3.6/site-packages/redis/client.py