Skip to content

Commit a9acc98

Browse files
author
Gerit Wagner
committed
fix docs: load json
1 parent 6176bd7 commit a9acc98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/load.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ To load a JSON query file, run the parser:
1313

1414
.. code-block:: python
1515
16-
from search_query.search_file import SearchFile
16+
from search_query.search_file import load_search_file
1717
from search_query.parser import parse
1818
19-
search = SearchFile("search-file.json")
19+
search = load_search_file("search-file.json")
2020
query = parse(search.search_string, platform=search.platform)
2121
2222

0 commit comments

Comments
 (0)