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 Folks, Is It Possible To Disable Automatic Package Detection And Just Use Requirements.Txt? I Have Different Local And Remote (Agent) Environments So I'D Like To Keep Those Two Separate. I'Ve Tried Using Task.Set_Packages("Requirements_Remote.Txt") Aft

Hi folks, is it possible to disable automatic package detection and just use requirements.txt? I have different local and remote (agent) environments so I'd like to keep those two separate. I've tried using task.set_packages("requirements_remote.txt") after task = Task.init(...) but it doesn't seem to work properly (I have different package versions installed locally and listed in requirements_remote.txt and it attempts to install the one I have locally rather than the one from the requirements file). Thanks!

  
  
Posted 5 months ago
Votes Newest

Answers 7


You can also just delete the installed packages section from the webUI and it will force it to use the requirements.txt

  
  
Posted 5 months ago

I've tried that one, but it behaves the same :/

  
  
Posted 5 months ago

You can do that too, yes

  
  
Posted 5 months ago

How did you try it?

  
  
Posted 5 months ago

Ooooh, I didn't notice that field is editable. Thanks!
So I should use add_requirements before Task.init and delete the list from webUI when needed?

  
  
Posted 5 months ago

I've ran it before Task.init

  
  
Posted 5 months ago

Hi @<1631102016807768064:profile|ZanySealion18> , I think this is what you're looking for:
None

  
  
Posted 5 months ago
380 Views
7 Answers
5 months ago
4 months ago
Tags