code: def slowlog_get(self, length=None):
          
          if length is not None:
              if not isinstance(length, int):
                  raise TypeError("length must be int or None")
              return self.execute(b'SLOWLOG', b'GET', length)
          else:
              return self.execute(b'SLOWLOG', b'GET')
docs: Returns the Redis slow queries log.