Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Is There Any Difference In:

Is there any difference in:
args = task.connect(args)vs
task.connect(args)I've seen both in the documentation

Posted 2 years ago
Votes Newest

Answers 5

Hi HelplessCrocodile8
yes there is:
in the first case, the new_key will be automatically logged:
a_dict = {} a_dict = task.connect(a_dict) a_dict['new_key'] = 42In the second example changes to the "object" passed to connect are not tracked
make sense ?

Posted 2 years ago

Ah interesting, that makes sense thanks

Posted 2 years ago

btw: I'm assuming that args is not the ArgParser object, as the ArgParser is automatically "connected" ?

Posted 2 years ago


Posted 2 years ago
5 Answers
2 years ago
one year ago