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
Hey, Im Trying To Create Pipeline Step With A

hey, im trying to create pipeline step with a List[str] as a parameter but it keeps getting serialized into a str. what are the supported types here?

  
  
Posted 2 years ago
Votes Newest

Answers 5


example pipeline
` from typing import List

from clearml import PipelineDecorator

@PipelineDecorator.component(
execution_queue="default",
docker="python:3.7",
packages=["clearml"]
)
def download(files: List[str]):
if isinstance(files, str):
print("its a str")

for f in files:
    print(f"download file: {f}")

@PipelineDecorator.pipeline(
name='something',
project='batch data processing',
version='0.1'
)
def batch_pipeline():
return download(
[
"file1.txt",
"file2.txt",
]
)

if name == 'main':
PipelineDecorator.run_locally()

batch_pipeline() `
  
  
Posted 2 years ago

agh, my bad. had the wrong environment up so was running 1.7.0. 1.8.0 works for me

  
  
Posted 2 years ago

Hi RattyDolphin75 , which ClearML SDK version are you using?

  
  
Posted 2 years ago

1.8.0

  
  
Posted 2 years ago

🙂 👍

  
  
Posted one year ago
955 Views
5 Answers
2 years ago
one year ago
Tags