class_docstr: Base class for Flax-based pipelines.
  
  [`FlaxDiffusionPipeline`] stores all components (models, schedulers, and processors) for diffusion pipelines and
  provides methods for loading, downloading and saving models. It also includes methods to:
  
      - enable/disable the progress bar for the denoising iteration
  
  Class attributes:
  
      - **config_name** ([`str`]) -- The configuration filename that stores the class and module names of all the
        diffusion pipeline's components.
class_docstr_tok: ["Base","class","for","Flax-based","pipelines",".","[","`","FlaxDiffusionPipeline","`","]","stores","all","components","(","models",",","schedulers",",","and","processors",")","for","diffusion","pipelines","and","provides","methods","for","loading",",","downloading","and","saving","models",".","It","also","includes","methods","to",":","-","enable\/disable","the","progress","bar","for","the","denoising","iteration","Class","attributes",":","-","*","*","config_name","*","*","(","[","`","str","`","]",")","--","The","configuration","filename","that","stores","the","class","and","module","names","of","all","the","diffusion","pipeline","'s","components","."]
code: def _get_signature_keys(cls, obj):
      parameters = inspect.signature(obj.__init__).parameters
      required_parameters = {
          k: v
          for k, v in parameters.items()
          if v.default == inspect._empty
      }
      optional_parameters = set(
          {
              k
              for k, v in parameters.items()
              if v.default != inspect._empty
          }
      )
      expected_modules = set(required_parameters.keys()) - {"self"}
  
      return expected_modules, optional_parameters
  
imports: import importlib
  import inspect
  import os
  from typing import Any, Dict, List, Optional, Union
  import flax
  import numpy
  import PIL.Image
  from flax.core.frozen_dict import FrozenDict
  from huggingface_hub import create_repo, snapshot_download
  from huggingface_hub.utils import validate_hf_hub_args
  from PIL import Image
  from tqdm.auto import tqdm
  from ..configuration_utils import ConfigMixin
  from ..models.modeling_flax_utils import FLAX_WEIGHTS_NAME, FlaxModelMixin
  from ..schedulers.scheduling_utils_flax import SCHEDULER_CONFIG_NAME, FlaxSchedulerMixin
  from ..utils import CONFIG_NAME, BaseOutput, PushToHubMixin, http_user_agent, is_transformers_available, logging
label_desc: Use image node_id 4 for calling the FlaxDiffusionPipeline obj's underlying member method code with example usage: obj._get_signature_keys(cls, obj) and returns: expected_modules,  optional_parameters