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
Different Question. How Can I Pass Pythonpath Env Variable To A Task, Run By Agent (So Python Can Find Classes Inside M Subdirectories)?

Different question. How can I pass PYTHONPATH env variable to a task, run by agent (so python can find classes inside m subdirectories)?

  
  
Posted 2 years ago
Votes Newest

Answers 6


Different question. How can I pass PYTHONPATH env variable to a task, run by agent (so python can find classes inside m subdirectories)?

Hi HelpfulHare30
By default the working directory will be added to the python path, this means if I have under execution:
Working Dir: "." Script: "src/script.py"The root git repo will be added to the python path.
BTW: next RC you could add a flag to the agent to always add the git repo

  
  
Posted 2 years ago

And it is not working ? what's the Working Dir you have under the Execution Tab ?

  
  
Posted 2 years ago

Happy to hear 🙂

  
  
Posted 2 years ago

AgitatedDove14 , you are right. It was invalid working directory. All works. Thank you

  
  
Posted 2 years ago

HelpfulHare30 are you running it from a repository?

  
  
Posted 2 years ago

I see I run it from repository root

  
  
Posted 2 years ago
1K Views
6 Answers
2 years ago
one year ago
Tags