docs: def pexpire(self, name, time):
          """
          Set an expire flag on key ``name`` for ``time`` milliseconds.
          ``time`` can be represented by an integer or a Python timedelta
          object.
          """
          if isinstance(time, datetime.timedelta):
              time = int(time.total_seconds() * 1000)
          return self.execute_command('PEXPIRE', name, time)