code: def psetex(self, key, time, value):
          
          return self.set(key, value, px=time)
docs: Set the value of ``key`` to ``value`` that expires in ``time``
          milliseconds. ``time`` can be represented by an integer or a Python
          timedelta object.