## lamindb.step

lamindb.step(uid=None)

 Use "@step()" to track a function as a step.

 Behaves like "flow()", but acts as a step in a workflow and does
 not create a global run context. It errors if no initiating run
 (either global or local run context) exists.

 See "flow()" for examples.

 Parameters:
| **uid** ("str" | "None", default: "None") -- Persist the uid to |
 identify a transform across renames.

 Return type:
 "Callable"[["Callable"[["ParamSpec"("P", bound= "None")],
 "TypeVar"("R")]], "Callable"[["ParamSpec"("P", bound= "None")],
 "TypeVar"("R")]]