Merge pull request #16 from fukusuket/explicit_slowsearch_param_example

Explicit slow_search parameter in example script.
pull/17/head
Raphaël Vinot 2022-05-27 12:40:54 +02:00 committed by GitHub
commit c35eac026c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -12,9 +12,10 @@ from pymispwarninglists import WarningLists
def init():
'''
Template to get the module started
Template to get the module started.
If set slow_search=True, uses the most appropriate search method. Can be slower.
'''
return WarningLists()
return WarningLists(slow_search=False)
if __name__ == '__main__':