code: def get_seasonality(
      config,
      id_list,
      quantiles,
      num_seasonalities_modelled,
      n_forecasts,
      device,
  ):
      """
      Router for all seasonality classes.
      """
      args = {
          "config": config,
          "id_list": id_list,
          "quantiles": quantiles,
          "n_forecasts": n_forecasts,
          "device": device,
          "num_seasonalities_modelled": num_seasonalities_modelled,
      }
  
      if config.global_local == "global":
          # Global seasonality
          return GlobalFourierSeasonality(**args)
      elif config.global_local == "local":
          # Local seasonality
          return LocalFourierSeasonality(**args)
      else:
          raise ValueError(
              f"Seasonality mode {config.global_local} is not supported."
          )
  
file_path: neural_prophet/neuralprophet/components/router.py
imports: from neuralprophet.components.future_regressors.linear import LinearFutureRegressors
  from neuralprophet.components.seasonality.fourier import GlobalFourierSeasonality, LocalFourierSeasonality
  from neuralprophet.components.trend.linear import GlobalLinearTrend, LocalLinearTrend
  from neuralprophet.components.trend.piecewise_linear import GlobalPiecewiseLinearTrend, LocalPiecewiseLinearTrend
  from neuralprophet.components.trend.static import StaticTrend
label_desc: Use image node_id 3 for calling a global function with example usage: get_seasonality(config, id_list, quantiles, num_seasonalities_modelled, n_forecasts, device) and returns: GlobalFourierSeasonality, LocalFourierSeasonality