1 2 3 4 5 6
from pykolab.auth import Auth def synchronize_once(): auth = Auth() auth.connect() auth.synchronize(mode='_paged_search')