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
Answered
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 3 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 3 years ago

Ah interesting, that makes sense thanks

  
  
Posted 3 years ago

👍

  
  
Posted 3 years ago

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

  
  
Posted 3 years ago
878 Views
5 Answers
3 years ago
one year ago
Tags