Skip to main content
Version: 0.95

snorkelflow.client.lfs.add_lf

snorkelflow.client.lfs.add_lf(node, lf, overwrite=False)

Add an LF as an active LF.

Parameters

NameTypeDefaultInfo
nodeintUID of the node containing the LF.
lfLFLF to add.
overwriteOptional[bool]FalseIf True, overwrite an exisiting active LF with the same name. Note that a new lf_uid will be assigned.

Returns

UID of the added LF

Return type

int