code: def get_exog_dtypes(exog: Union[pd.DataFrame, pd.Series]) -> dict:
      """
      Store dtypes of `exog`.
  
      Parameters
      ----------
      exog : pandas DataFrame, pandas Series
          Exogenous variable/s included as predictor/s.
  
      Returns
      -------
      exog_dtypes : dict
          Dictionary with the dtypes in `exog`.
  
      """
  
      if isinstance(exog, pd.Series):
          exog_dtypes = {exog.name: exog.dtypes}
      else:
          exog_dtypes = exog.dtypes.to_dict()
  
      return exog_dtypes
  
imports: from typing import Union, Any, Optional, Tuple, Callable
  import warnings
  import importlib
  import joblib
  import numpy
  import pandas
  import sklearn
  import sklearn.pipeline
  import sklearn.linear_model
  from sklearn.compose import ColumnTransformer
  from sklearn.exceptions import NotFittedError
  import inspect
  from copy import deepcopy
  import skforecast
  from ..exceptions import MissingValuesExogWarning
  from ..exceptions import DataTypeWarning
  from ..exceptions import IgnoredArgumentWarning
  from ..exceptions import SkforecastVersionWarning
label_desc: Use image node_id 7 for calling a global function with example usage: get_exog_dtypes(exog) and returns: exog_dtypes