def to_microseconds(v): if not isinstance(v, six.string_types): return v return int(parse_nanoseconds_int(v) / 1000)
def to_microseconds(v): if not isinstance(v, str): return v return int(parse_nanoseconds_int(v) / 1000)