code: def from_pytime(cls, pytime):
          
          secs = pytime.hour * 60 * 60 + pytime.minute * 60 + pytime.second
          nsec = secs * 10 ** 9 + pytime.microsecond * 1000
          return cls(nsec=nsec)
docs: Converts Python time object to sql time object
          ignoring timezone
          @param pytime: Python time object
          @return: sql time object