sdk.analysis.create()

elements.sdk.api.analysis

Create an Analysis.

Create a top level Analysis object. This object is lightweight and is used to connect all versions of an Analysis together. Once an analysis has been created, an Analysis Version must be created using a manifest. Next an Analysis Config may be created to specify a particular configuration of an Analysis Version, which can be used in an Analysis Computation.

Parameters

  • name (str) - name of the Analysis
  • author (str) - author of the Analysis

Return

Analysis

Examples

# Create an Analysis
analysis = await sdk.analysis.create(
  name="My Awesome Analysis",
  author="[email protected]"
)

# Output (Analysis)
id: "40078e32-27ee-438e-87bf-87063482c7b4"
author: "[email protected]"
name: "My Awesome Analysis"