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
Are Nested Pipeline Component Supported? E.G. Having A Component Call Other Pipeline Components? I Tried To Run This Snippet:

Are nested pipeline component supported? e.g. having a component call other pipeline components? I tried to run this snippet:

from clearml import PipelineDecorator

@PipelineDecorator.component(name="fn_a")
def fn_a():
    return 1

@PipelineDecorator.component(name="fn_b", helper_functions=[fn_a])
def fn_b():
    v1 = fn_a()
    v2 = fn_a()
    return v1 + v2

@PipelineDecorator.pipeline(name="test_pipeline", project="TEST")
def main():
    s = fn_b()
    print(s)

if __name__ == "__main__":
    PipelineDecorator.run_locally()
    main()

but I keep getting an error: PipelineController.Node.__init__() got an unexpected keyword argument 'job_id'

  
  
Posted one year ago
Votes Newest

Answers 2


Hi @<1570220858075516928:profile|SlipperySheep79> , nested pipelines aren't supported currently. What is the use case that you need it for?

  
  
Posted one year ago

Basically I want to run a function in parallel, and having that function create multiple tasks. So I was thinking of setting up a pipeline to have this hierarchy main -> parallelized_function -> init_task_function . But I guess I could also just call Task.create in init_task_function and achieve the same

  
  
Posted one year ago