search_query.search_file
SearchFile parser.
Functions
|
Load a search file from a JSON file. |
Classes
|
SearchFile class. |
- class search_query.search_file.SearchFile(search_string: str, platform: str, authors: list[dict] | None = None, record_info: dict | None = None, date: dict | None = None, filepath: str | Path | None = None, **kwargs: dict)
Bases:
object
SearchFile class.
- save(filepath: str | Path | None = None) None
Save the search file to a JSON file.
- to_dict() dict
Convert the search file to a dictionary.
- search_query.search_file.load_search_file(filepath: str | Path) SearchFile
Load a search file from a JSON file.