parameters: (self, ws_name)
docstring: Triggered when the ADS reports a workspace replacement.
  
          Args:
              ws_name (str): name of the workspace
docstring_summary: Triggered when the ADS reports a workspace replacement.
docstring_tokens: Triggered when the ADS reports a workspace replacement .
function: def on_workspace_replaced(self, ws_name):
          """
          Triggered when the ADS reports a workspace replacement.
  
          Args:
              ws_name (str): name of the workspace
          """
          if ws_name not in self._workspaces:
              return
          self.sig_workspace_replaced.emit(ws_name)
function_tokens: def on_workspace_replaced ( self , ws_name ) : if ws_name not in self . _workspaces : return self . sig_workspace_replaced . emit ( ws_name )