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
Hi, Is It Possible To Delete A Parameter From A Task After It Is Connected? So Far I'Ve Tried Using Connect(...) And Set_Parameters_As_Dict() Method, But They Appear To Merge But Never Remove Parameters. Is There Another Way To Reset/Remove Parameters?

Hi,
Is it possible to delete a parameter from a Task after it is connected? So far I've tried using connect(...) and set_parameters_as_dict() method, but they appear to merge but never remove parameters. Is there another way to reset/remove parameters?

  
  
Posted 3 years ago
Votes Newest

Answers 5


If you want to clear the parameters, you can try overriding with an empty dict

cloned_task.set_parameters({})

  
  
Posted 3 years ago

Correct 🙂

  
  
Posted 3 years ago

Perfect. That seems to work. So set_parameters_as_dict does the merge while set_parameters basically overrides, correct?

  
  
Posted 3 years ago

Hi DisturbedWalrus17 ,

Do you want to clear the parameters from a cloned task?

  
  
Posted 3 years ago

Hi Alon,
yes exactly. Or override some parameter, e.g. a nested dictionary

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