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
Unanswered
Hello All! Is There Any Way To Attach To A Task/Worker In A Terminal? I Have Jobs Which Fall Into Pdb Upon An Error, And It Would Be Very Helpful To Be Able To Connect To Them And Interact With The Debugger.


I am wondering if there is a way for me to connect to a currently worker process and interact with anything in the script with expects user input. For example, if I submitted a task that had this as its script:

# ... other stuff

import code
code.interact()

would there be any way for me to connect and actually use the interactive Python session it drops into?

  
  
Posted one year ago
170 Views
0 Answers
one year ago
one year ago