class_docstr: An OSA class, inherited from Optimizer.
  
  This is the designed class to define OSA-related
  variables and methods.
  
  References:
      M. Jain, S. Maurya, A. Rani and V. Singh.
      Owl search algorithm: A novelnature-inspired heuristic paradigm for global optimization.
      Journal of Intelligent & Fuzzy Systems (2018).
code: def beta(self, beta: float) -> None:
      if not isinstance(beta, (float, int)):
          raise e.TypeError("`beta` should be a float or integer")
      if beta < 0:
          raise e.ValueError("`beta` should be >= 0")
  
      self._beta = beta
  
file_path: opytimizer/opytimizer/optimizers/population/osa.py
imports: import copy
  from typing import Any, Dict, Optional
  import numpy
  import opytimizer.math.general
  import opytimizer.math.random
  import opytimizer.utils.constant
  import opytimizer.utils.exception
  from opytimizer.core import Optimizer
  from opytimizer.core.space import Space
  from opytimizer.utils import logging
label_desc: Use image node_id 3 for calling the OSA obj's underlying member method code with example usage: obj.beta(beta) without return types