parameters: (self)
docstring: Returns the fit status of the dataset that is currently selected.
docstring_summary: Returns the fit status of the dataset that is currently selected.
docstring_tokens: Returns the fit status of the dataset that is currently selected .
function: def current_fit_status(self) -> str:
          """Returns the fit status of the dataset that is currently selected."""
          current_dataset_index = self.fitting_context.current_dataset_index
          if current_dataset_index is not None:
              return self.fitting_context.fit_statuses[current_dataset_index]
          else:
              return DEFAULT_FIT_STATUS
function_tokens: def current_fit_status ( self ) -> str : current_dataset_index = self . fitting_context . current_dataset_index if current_dataset_index is not None : return self . fitting_context . fit_statuses [ current_dataset_index ] else : return DEFAULT_FIT_STATUS