code: def _get_valid_optional_params(
      batch_size: Optional[int] = None,
      n_jobs: Optional[int] = None,
  ):
      """Takes in optional args and returns good values for them if they are None."""
      if batch_size is None:
          batch_size = 10000
  
      if batch_size <= 0:
          raise ValueError(
              f"Batch size must be greater than 0, got {batch_size}"
          )
      return batch_size, n_jobs
  
imports: from typing import Optional, List
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: _get_valid_optional_params(batch_size, n_jobs) and returns: batch_size,  n_jobs