def situation_parameters(self):
        """
        Situation parameters defining detection logic for the context.
        This will return a list of SituationParameter indicating how
        the detection is made, i.e. regular expression, integer value,
        etc.
        
        :rtype: list(SituationParameter)
        """
        for param in self.data.get('situation_parameters', []):
            cache = ElementCache(data=self.make_request(href=param))
            yield type('SituationParameter', (SituationParameter,), {
                'data': cache})(name=cache.name, type=cache.type, href=param)
def situation_parameters ( self ) : for param in self . data . get ( 'situation_parameters' , [ ] ) : cache = ElementCache ( data = self . make_request ( href = param ) ) yield type ( 'SituationParameter' , ( SituationParameter , ) , { 'data' : cache } ) ( name = cache . name , type = cache . type , href = param )
Situation parameters defining detection logic for the context.
        This will return a list of SituationParameter indicating how
        the detection is made, i.e. regular expression, integer value,
        etc.
        
        :rtype: list(SituationParameter)