Overview
Prerequisites:
- This feature is available with the Paradime Enterprise pack.
- Your API keys must have the Custom Integrations Admin capability.
These examples authenticate with an account API key (
api_secret="prdm_cmp_..." plus workspace_uid), which requires paradime-io 6.0.0 or later. Legacy workspace API keys (api_key + api_secret) are still supported. See Getting Started.- Create custom integrations tailored to your specific needs
- Ingest and manage nodes from various data sources and applications
- Upload node information for Paradime to incorporate into its lineage and catalog
- Enhance data visibility by connecting Paradime with your entire data ecosystem
Create a custom integration and upload nodes using JSON
This example uses as inputs thenode_types.json and the nodes.json.
- node_types.json
- nodes.json
The below example is where we define our node types and the related attributes.
color can be one defined from one of the provided color palettes:- VIOLET
#827be6 - ORANGE
#fb982e - MANDY
#ef6292 - TEAL
#33a9a9 - GREEN
#27ae60 - CORAL
#FF8559 - LEAF
- CYAN
icon_namecan be chosen from Blueprint.js icons library
Add field-level lineage
Field-level lineage needs
paradime-io 6.12.0 or later.NodeChartLikeAttributesField and NodeDatasourceLikeAttributesField take two optional lists:
upstream_fields: the columns and fields that this field reads from.downstream_fields: the columns and fields that this field feeds. Use it when the target can’t declare the lineage itself, for example a loader that writes into a warehouse table.
paradime.apis.custom_integration.types:
Each reference also takes an optional
transformation (FieldTransformation.DIRECT, the default, or AGGREGATION, EXPRESSION, or FILTER) and an optional expression, such as "SUM(amount)". Fields without upstream_fields or downstream_fields are sent as before. For the limits and how Paradime resolves each reference, see Field-level lineage in the GraphQL API reference.
In 6.12.0, NativeIntegrationNodeType also has the ThoughtSpot, Sigma, Lightdash, Omni, Metabase, and Airbyte node types.
Methods
All methods are called onparadime.custom_integration.
create
Creates a custom integration with the specified name, logo URL, and node types.The URL of the logo for the custom integration. If not provided (
None), a default logo is used.A list of
NodeType objects representing the node types for the custom integration.update
Updates a custom integration with the specified parameters. Only the parameters that are notNone are updated.
The new list of node types for the integration. Overrides the existing node types.
upsert
Upserts an integration by either updating an existing integration with the given name, or creating a new integration if it doesn’t exist. All arguments are keyword-only.list_all
Retrieves a list of all custom integrations, including both active and inactive integrations. Takes no arguments.list_active
Retrieves a list of all active custom integrations. Takes no arguments.get
Retrieves an active integration with the specified UID.get_by_name
Retrieves an active custom integration with the specified name.add_nodes
Adds all nodes to a new snapshot in the custom integration. Internally batches the nodes across multiple requests. To add nodes in a streaming fashion, useadd_nodes_to_snapshot.
All arguments are keyword-only.
add_nodes_to_snapshot
Adds nodes to a snapshot in the custom integration. A snapshot is a collection of nodes added to the custom integration. Nodes are added in batches, and the snapshot ID keeps track of the nodes added to the snapshot. This method is useful when adding a large number of nodes in batches.Indicates whether the snapshot has more nodes. Set to
False when adding the last batch of nodes.The ID of the snapshot. If not provided, a new snapshot is created. If provided, the nodes are added to the existing snapshot.