class_docstr: Base class for MkDocs configuration, plugin configuration (and sub-configuration) objects.
  
  It should be subclassed and have `ConfigOption`s defined as attributes.
  For examples, see mkdocs/contrib/search/__init__.py and mkdocs/config/defaults.py.
  
  Behavior as it was prior to MkDocs 1.4 is now handled by LegacyConfig.
class_docstr_tok: ["Base","class","for","MkDocs","configuration",",","plugin","configuration","(","and","sub-configuration",")","objects",".","It","should","be","subclassed","and","have","`","ConfigOption","`","s","defined","as","attributes",".","For","examples",",","see","mkdocs\/contrib\/search\/__init__.py","and","mkdocs\/config\/defaults.py",".","Behavior","as","it","was","prior","to","MkDocs","1.4","is","now","handled","by","LegacyConfig","."]
docstr: Set the base config by going through each validator and getting the
  default if it has one.
docstr_tok: ["Set","the","base","config","by","going","through","each","validator","and","getting","the","default","if","it","has","one","."]
code: def set_defaults(self) -> None:
      """
      Set the base config by going through each validator and getting the
      default if it has one.
      """
      for key, config_option in self._schema:
          self[key] = config_option.default
  
imports: from __future__ import annotations
  import functools
  import logging
  import os
  import sys
  import warnings
  from collections import UserDict
  from contextlib import contextmanager
  from typing import IO, TYPE_CHECKING, Any, Generic, Iterator, List, Mapping, Sequence, Tuple, TypeVar, overload
  from mkdocs import exceptions, utils
  from mkdocs.utils import weak_property
label_desc: Use image node_id 4 for calling the Config obj's underlying member method code with example usage: obj.set_defaults() without return types