Source code for todoist.managers.locations

# -*- coding: utf-8 -*-
from .generic import Manager, AllMixin, SyncMixin


[docs]class LocationsManager(Manager, AllMixin, SyncMixin): state_name = 'locations' object_type = None # there is no local state associated
[docs] def clear(self): """ Clears the locations. """ cmd = { 'type': 'clear_locations', 'uuid': self.api.generate_uuid(), 'args': {}, } self.queue.append(cmd)