def __init__(self, data_location=expanduser('~/.task'), localtz=None, task_projects=[]):
        """Constructor

        data_location -- Path to the Taskwarrior data directory
        """
        self._data_location = data_location
        self._localtz = localtz if localtz else get_localzone()
        self._task_projects = task_projects
        self._lock = Lock()
        self._mtime = 0
        self._tasks = {}
        self._update()
def __init__ ( self , data_location = expanduser ( '~/.task' ) , localtz = None , task_projects = [ ] ) : self . _data_location = data_location self . _localtz = localtz if localtz else get_localzone ( ) self . _task_projects = task_projects self . _lock = Lock ( ) self . _mtime = 0 self . _tasks = { } self . _update ( )
Constructor

        data_location -- Path to the Taskwarrior data directory