(context)
return header.functionId
Retrieve function id from header.
        :param context: context
        :return: function id
Retrieve function id from header.
        :param context: context
        :return: function id
Retrieve function id from header . : param context : context : return : function id
def _get_function_id(context):
        """
        Retrieve function id from header.
        :param context: context
        :return: function id
        """
        metadata = dict(context.invocation_metadata())
        header = SSE.FunctionRequestHeader()
        header.ParseFromString(metadata['qlik-functionrequestheader-bin'])

        return header.functionId
def _get_function_id ( context ) : metadata = dict ( context . invocation_metadata ( ) ) header = SSE . FunctionRequestHeader ( ) header . ParseFromString ( metadata [ 'qlik-functionrequestheader-bin' ] ) return header . functionId