from tilebox.workflows import ExecutionContext, Task
class DownloadInput(Task):
input_id: str
def execute(self, context: ExecutionContext) -> None:
with context.tracer.span("download-input") as span:
span.set_attribute("input_id", self.input_id)
tilebox.workflows
Context.tracer
from tilebox.workflows import ExecutionContext, Task
class DownloadInput(Task):
input_id: str
def execute(self, context: ExecutionContext) -> None:
with context.tracer.span("download-input") as span:
span.set_attribute("input_id", self.input_id)
Was this page helpful?