splatnet3_scraper.query.Config.save_to_file(file_path=None)

Saves the config to a file.

Parameters:
file_path : str | None

The path to the file to save the config to. Defaults to None.

Raises:

ValueError – If no file path is provided and no output file path is set.