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
snorkelflow.client.analyses | Analysis related functions. |
snorkelflow.client.annotations | Annotations-related SDK functions. |
snorkelflow.client.annotation_sources | Annotation source related functions. |
snorkelflow.client.applications | Application related functions. |
snorkelflow.client.batches | (Annotation) batch related functions. |
snorkelflow.client.blocks | Block related functions. |
snorkelflow.client.comments | Comment related functions. |
snorkelflow.client.ctx | Context related classes. |
snorkelflow.client.custom_pip | Custom pip install related functions. |
snorkelflow.client.datasets | Dataset related functions. |
snorkelflow.client.dataset_views | Dataset views functions for datasets |
snorkelflow.client.datasources | Datasource related functions. |
snorkelflow.client.evaluation | Evaluation related functions. |
snorkelflow.client.external_models | External model endpoints related functions. |
snorkelflow.client.files | File storage related functions to upload and download files and directories. |
snorkelflow.client.file_storage_configs | File storage config related functions. |
snorkelflow.client.fm_suite | Foundation model suite related functions. |
snorkelflow.client.gts | Ground truth related functions. |
snorkelflow.client.lf_packages | LF package related functions. |
snorkelflow.client.lf_templates | LF template related functions. |
snorkelflow.client.lfs | LF related functions. |
snorkelflow.client.metrics | Metric related functions. |
snorkelflow.client.models | Model related functions. |
snorkelflow.client.nodes | In a data pipeline, nodes are configurable computation steps that organize and connect the flow of your data in a Directed Acyclic Graph (DAG). |
snorkelflow.client.object_storage | Minio related functions. |
snorkelflow.client.operators | Operator related functions. |
snorkelflow.client.secrets | Secret store related functions. |
snorkelflow.client.studio | Studio related functions. |
snorkelflow.client.synthetic | Synthetic data related functions for generating synthetic data. |
snorkelflow.client.tags | Tag-related functions. |
snorkelflow.client.training_sets | Training set related functions. |
snorkelflow.client.transfer | SDK functions for transferring assets between applications or nodes on a single Snorkel Flow instance. |
snorkelflow.client.utils | Utility functions. |
snorkelflow.client.users | User related functions. |
snorkelflow.client.workflows | Workflow related functions. |