qmi.core.context_singleton.context

qmi.core.context_singleton.context() QMI_Context

Return the current QMI_Context instance.

This function may only be called when there is an active QMI context (i.e. after calling qmi.start()).

Raises:

QMI_NoActiveContextException – If there is no active context.