def RANGE(value):  # noqa: N802
    if ':' in value:
        start, stop = value.split(':', 1)
        start = UINT(start)
        if stop.strip():
            stop = UINT(stop)
            if start >= stop:
                raise ValueError('End must be larger than start')
        else:
            stop = None
    else:
        start = UINT(value)
        stop = start + 1
    return slice(start, stop)
Lists activities associated with an organization.
dataset/ETHPy150Open mopidy/mopidy/mopidy/mpd/protocol/__init__.py/RANGE--crossover with--dataset/ETHPy150Open ducksboard/libsaas/libsaas/services/pipedrive/organizations.py/Organization.activities