@classmethod
def get(cls):
    '\n        Return the currently active TaskContext. This can be called inside of\n        user functions to access contextual information about running tasks.\n\n        .. note:: Must be called on the worker, not the driver. Returns None if not initialized.\n        '
    return cls._taskContext
Return the currently active TaskContext. This can be called inside of
user functions to access contextual information about running tasks.

.. note:: Must be called on the worker, not the driver. Returns None if not initialized.
@classmethod
def get(cls):
    '\n        Return the currently active TaskContext. This can be called inside of\n        user functions to access contextual information about running tasks.\n\n        .. note:: Must be called on the worker, not the driver. Returns None if not initialized.\n        '
    return cls._taskContext