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 There A Way To Clone An Experiment That Uses Two Distinct Repositories?

Hi, is there a way to clone an experiment that uses two distinct repositories?

  
  
Posted one year ago
Votes Newest

Answers 2


Personally I’ve found this (sort-of hacky) approach to work, by passing your git credentials as environment variables to the agent’s docker and cloning the repo in the code. You’ll have to make sure you have the right packages installed though.
if 'GIT_USER' in os.environ: git_name, git_pass = os.environ['GIT_USER'], os.environ['GIT_PASS'] call(f'git clone https://{git_name}:{git_pass}@gitlab.com/myuser/myrepo', shell=True) global myrepo from myrepo import func elif local_repo_path and os.path.isdir(local_repo_path): # Optionally supply a path to the repo when ran locally sys.path.append(local_repo_path) global myrepo from myrepo import funcAn alternative is using a pipeline where you can have each step use a different repo, but then the code will have to be separated

  
  
Posted one year ago

Thanks, I will give it a try

  
  
Posted one year ago
697 Views
2 Answers
one year ago
one year ago
Tags