code: def _magic_fit_generator(
      self,
      generator,
      steps_per_epoch=None,
      epochs=1,
      # FIXME: there is more
      # verbose=1,
      # verbose=1,
      # callbacks=None,
      # validation_data=None,
      # validation_steps=None,
      # validation_freq=1,
      # class_weight=None,
      # max_queue_size=10,
      # workers=1,
      ##use_multiprocessing=False,
      # shuffle=True,
      # initial_epoch=0,
      *args,
      **kwargs,
  ):
      return _fit_wrapper(
          self,
          self._fit_generator,
          generator=generator,
          steps_per_epoch=steps_per_epoch,
          epochs=epochs,
          *args,
          **kwargs,
      )
  
imports: import argparse
  import copy
  import json
  import os
  import re
  import sys
  import yaml
  import wandb
  from wandb import trigger
  from wandb.util import add_import_hook, get_optional_module
label_desc: Use image node_id 8 for calling a global function with example usage: _magic_fit_generator(generator, steps_per_epoch, epochs) and returns: _fit_wrapper