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, How Can I Use

Hi, how can I use package_manager.force_repo_requirements_txt=true in a mono repository structure? like repo/project-a/requirements.txt , repo/project-b/requirements.txt . By default it will only accept a requirments.txt at the root of the repo.

  
  
Posted 3 years ago
Votes Newest

Answers 7


I see, by default it will look for requirements.txt in the root of the repo (the actual repo).
That said in code you can specify the requirements .txt:
Task.force_requirements_env_freeze(requirements_file='repo/project-a/requirements.txt') task = Task.init(...)Notice, you need to call it prior to the Task.init call

  
  
Posted 3 years ago

its like two repos wrapped in one repo and grouped by folders

  
  
Posted 3 years ago

Does that help ?

  
  
Posted 3 years ago

no it only needs the requirements.txt of project-a if I run a task of project-a

  
  
Posted 3 years ago

thanks, that seems to be at least a solution

  
  
Posted 3 years ago

I will try it 🙂

  
  
Posted 3 years ago

Hi ClumsyElephant70
So do you need both requirements.txt combined ?
How will the agent be able to reproduce both repo on the remote machine ?

  
  
Posted 3 years ago