parameters: (self,
                                        service_name: str,
                                        get_mon_cmd: str,
                                        set_mon_cmd: str,
                                        service_url: str)
docstring: A helper to get and set service_url via Dashboard's MON command.
  
             If result of get_mon_cmd differs from service_url, set_mon_cmd will
             be sent to set the service_url.
docstring_summary: A helper to get and set service_url via Dashboard's MON command.
docstring_tokens: A helper to get and set service_url via Dashboard s MON command .
function: def _set_service_url_on_dashboard(self,
                                        service_name: str,
                                        get_mon_cmd: str,
                                        set_mon_cmd: str,
                                        service_url: str) -> None:
          """A helper to get and set service_url via Dashboard's MON command.
  
             If result of get_mon_cmd differs from service_url, set_mon_cmd will
             be sent to set the service_url.
          """
          def get_set_cmd_dicts(out: str) -> List[dict]:
              cmd_dict = {
                  'prefix': set_mon_cmd,
                  'value': service_url
              }
              return [cmd_dict] if service_url != out else []
  
          self._check_and_set_dashboard(
              service_name=service_name,
              get_cmd=get_mon_cmd,
              get_set_cmd_dicts=get_set_cmd_dicts
          )
function_tokens: def _set_service_url_on_dashboard ( self , service_name : str , get_mon_cmd : str , set_mon_cmd : str , service_url : str ) -> None : def get_set_cmd_dicts ( out : str ) -> List [ dict ] : cmd_dict = { 'prefix' : set_mon_cmd , 'value' : service_url } return [ cmd_dict ] if service_url != out else [ ] self . _check_and_set_dashboard ( service_name = service_name , get_cmd = get_mon_cmd , get_set_cmd_dicts = get_set_cmd_dicts )