You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2021/06/07 07:18:34 UTC

[incubator-ponymail-foal] branch master updated: override is optional string

This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git


The following commit(s) were added to refs/heads/master by this push:
     new e31303a  override is optional string
e31303a is described below

commit e31303ae0cc549b950589074efb396ad0025a5b2
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Mon Jun 7 09:18:26 2021 +0200

    override is optional string
---
 server/plugins/defuzzer.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/plugins/defuzzer.py b/server/plugins/defuzzer.py
index bfa9975..de0a26b 100644
--- a/server/plugins/defuzzer.py
+++ b/server/plugins/defuzzer.py
@@ -27,7 +27,7 @@ It turns a URL search query into an ES query
 """
 
 
-def defuzz(formdata: dict, nodate: bool = False, list_override: str = None) -> dict:
+def defuzz(formdata: dict, nodate: bool = False, list_override: typing.Optional[str] = None) -> dict:
     # Default to 30 day date range
     daterange = {"gt": "now-30d", "lt": "now+1d"}