code: def save_expectations_config(
          self,
          filepath=None,
          discard_failed_expectations=True,
          discard_result_format_kwargs=True,
          discard_include_configs_kwargs=True,
          discard_catch_exceptions_kwargs=True,
          suppress_warnings=False
      ):
          
          if filepath == None:
              # FIXME: Fetch the proper filepath from the project config
              pass
  
          expectations_config = self.get_expectations_config(
              discard_failed_expectations,
              discard_result_format_kwargs,
              discard_include_configs_kwargs,
              discard_catch_exceptions_kwargs,
              suppress_warnings
          )
          expectation_config_str = json.dumps(expectations_config, indent=2)
          open(filepath, 'w').write(expectation_config_str)
docs: Writes ``_expectation_config`` to a JSON file.
  
             Writes the DataAsset's expectation config to the specified JSON ``filepath``. Failing expectations \
             can be excluded from the JSON expectations config with ``discard_failed_expectations``. The kwarg key-value \
             pairs :ref:`result_format`, :ref:`include_config`, and :ref:`catch_exceptions` are optionally excluded from the JSON \
             expectations config.
  
             Args:
                 filepath (string): \
                     The location and name to write the JSON config file to.
                 discard_failed_expectations (boolean): \
                     If True, excludes expectations that do not return ``success = True``. \
                     If False, all expectations are written to the JSON config file.
                 discard_result_format_kwargs (boolean): \
                     If True, the :ref:`result_format` attribute for each expectation is not written to the JSON config file. \
                 discard_include_configs_kwargs (boolean): \
                     If True, the :ref:`include_config` attribute for each expectation is not written to the JSON config file.\
                 discard_catch_exceptions_kwargs (boolean): \
                     If True, the :ref:`catch_exceptions` attribute for each expectation is not written to the JSON config \
                     file.
                 suppress_warnings (boolean): \
                    It True, all warnings raised by Great Expectations, as a result of dropped expectations, are \
                    suppressed.