Exemple #1
0
def to_microseconds(v):
    if not isinstance(v, six.string_types):
        return v
    return int(parse_nanoseconds_int(v) / 1000)
Exemple #2
0
def to_microseconds(v):
    if not isinstance(v, six.string_types):
        return v
    return int(parse_nanoseconds_int(v) / 1000)
Exemple #3
0
def to_microseconds(v):
    if not isinstance(v, str):
        return v
    return int(parse_nanoseconds_int(v) / 1000)