snorkelflow.client
Interfaces to interact with the Snorkel Flow REST API.
Most of the functions in the snorkelflow.client
module require a client context
object — SnorkelFlowContext
— that points to the Snorkel Flow instance:
import snorkelflow.client as sf
ctx = sf.SnorkelFlowContext.from_kwargs()
All the functions under submodules are also available under snorkelflow.client
.
Examples:
import snorkelflow.client as sf
# get_node is available under snorkelflow.client.nodes
sf.nodes.get_node(node)
# also available under snorkelflow.client (recommended)
sf.get_node(node)
Since snorkelflow.client
submodules may be reorganized in the future, we recommend accessing functions directly from snorkelflow.client
to minimize the risk of future breaking changes.
Submodules
Submodules
Analysis related functions | |
Annotations-related SDK functions. | |
Annotation source related functions | |
Application related functions | |
(Annotation) batch related functions | |
Block related functions | |
Comment related functions. | |
Context related classes | |
Custom pip install related functions | |
Dataset related functions | |
Datasource related functions | |
Export related functions | |
File storage config related functions | |
Warm Start related functions. | |
Ground truth related functions. | |
LF package related functions | |
LF template related functions | |
LF related functions | |
Metric related functions | |
Model related functions | |
Monitoring related functions | |
Node related functions | |
Minio related functions | |
Operator related functions | |
Secret store related functions | |
Studio related functions | |
Tag-related functions. | |
Training set related functions | |
SDK functions for transferring assets between applications or nodes on a single Snorkel Flow instance. | |
Utility functions | |
User related functions | |
Workflow related functions |