parameters: (self)
return_statement: return exp
docstring: Return a dictionnary of expected entries
          The expected entries are simply the name of the tokens the scenario manager (UI) should send with values
          filled by user, with some extra parameters : description and a type.
          Ex : { "time": {
              "type" : "timestamp",
              "description": "Expected time as timestamp",
              "default" : "default value or empty",
              "values" : [ "list","of","value","that","user","can","choose"],
              "filters" : [ "list","of","filters","or",""]
              }
          }
          The 'type' and 'description' are only informative, but the more precise you will be, the easier it will be for UI
          to send correct data without looking at your code to guess what you expect.
          Most of the time, only one value will be enough (time, operator, etc ...), but with more complex parameters,
          maybe you'll need more (for a device state for ex, you may need the technology, the device address, maybe some
          usercode, etc ...
          @return a list of expected parameters, or
docstring_summary: Return a dictionnary of expected entries
          The expected entries are simply the name of the tokens the scenario manager (UI) should send with values
          filled by user, with some extra parameters : description and a type.
          Ex : { "time": {
              "type" : "timestamp",
              "description": "Expected time as timestamp",
              "default" : "default value or empty",
              "values" : [ "list","of","value","that","user","can","choose"],
              "filters" : [ "list","of","filters","or",""]
              }
          }
          The 'type' and 'description' are only informative, but the more precise you will be, the easier it will be for UI
          to send correct data without looking at your code to guess what you expect.
          Most of the time, only one value will be enough (time, operator, etc ...), but with more complex parameters,
          maybe you'll need more (for a device state for ex, you may need the technology, the device address, maybe some
          usercode, etc ...
docstring_tokens: Return a dictionnary of expected entries The expected entries are simply the name of the tokens the scenario manager ( UI ) should send with values filled by user with some extra parameters : description and a type . Ex : { time : { type : timestamp description : Expected time as timestamp default : default value or empty values : [ list of value that user can choose ] filters : [ list of filters or ] } } The type and description are only informative but the more precise you will be the easier it will be for UI to send correct data without looking at your code to guess what you expect . Most of the time only one value will be enough ( time operator etc ... ) but with more complex parameters maybe you ll need more ( for a device state for ex you may need the technology the device address maybe some usercode etc ...
function: def get_expected_entries(self):
          """ Return a dictionnary of expected entries
          The expected entries are simply the name of the tokens the scenario manager (UI) should send with values
          filled by user, with some extra parameters : description and a type.
          Ex : { "time": {
              "type" : "timestamp",
              "description": "Expected time as timestamp",
              "default" : "default value or empty",
              "values" : [ "list","of","value","that","user","can","choose"],
              "filters" : [ "list","of","filters","or",""]
              }
          }
          The 'type' and 'description' are only informative, but the more precise you will be, the easier it will be for UI
          to send correct data without looking at your code to guess what you expect.
          Most of the time, only one value will be enough (time, operator, etc ...), but with more complex parameters,
          maybe you'll need more (for a device state for ex, you may need the technology, the device address, maybe some
          usercode, etc ...
          @return a list of expected parameters, or
          """
          exp = self._expected
          for item in exp.keys():
              exp[item]["default"] = self.get_default_value(item)
              exp[item]["values"] = self.get_list_of_values(item)
              exp[item]["filters"] = self.get_filters(item)
          return exp
function_tokens: def get_expected_entries ( self ) : exp = self . _expected for item in exp . keys ( ) : exp [ item ] [ "default" ] = self . get_default_value ( item ) exp [ item ] [ "values" ] = self . get_list_of_values ( item ) exp [ item ] [ "filters" ] = self . get_filters ( item ) return exp