BaseConfig.json#

BaseConfig.json(*, include=None, exclude=None, by_alias=False, exclude_unset=False, exclude_defaults=False, exclude_none=False, encoder=PydanticUndefined, models_as_dict=PydanticUndefined, **dumps_kwargs)#
Parameters:
  • include (Set[int] | Set[str] | Mapping[int, Set[int] | Set[str] | Mapping[int, IncEx | Literal[True]] | ~typing.Mapping[str, IncEx | ~typing.Literal[True]] | ~typing.Literal[True]] | ~typing.Mapping[str, ~typing.Set[int] | ~typing.Set[str] | ~typing.Mapping[int, IncEx | ~typing.Literal[True]] | ~typing.Mapping[str, IncEx | ~typing.Literal[True]] | ~typing.Literal[True]] | None)

  • exclude (Set[int] | Set[str] | Mapping[int, Set[int] | Set[str] | Mapping[int, IncEx | Literal[True]] | ~typing.Mapping[str, IncEx | ~typing.Literal[True]] | ~typing.Literal[True]] | ~typing.Mapping[str, ~typing.Set[int] | ~typing.Set[str] | ~typing.Mapping[int, IncEx | ~typing.Literal[True]] | ~typing.Mapping[str, IncEx | ~typing.Literal[True]] | ~typing.Literal[True]] | None)

  • by_alias (bool)

  • exclude_unset (bool)

  • exclude_defaults (bool)

  • exclude_none (bool)

  • encoder (Callable[[Any], Any] | None)

  • models_as_dict (bool)

  • dumps_kwargs (Any)

Return type:

str