sdk.algorithm.create()
elements.sdk.api.algorithm
Create an Algorithm.
Create a top level Algorithm object. This object is lightweight and is used to connect all versions of an Algorithm together. Once an Algorithm has been created, an Algorithm Version must be created using a manifest. Next an Algorithm Config may be created to specify a particular configuration of an Algorithm Version, which can be used in an Algorithm Computation.
Parameters
- name (str) - name identifier for the Algorithm (should not contain spaces)
- display_name (str) - Version IDs of the AOIs to remove from the AOI Collection
- author (str) - author of the Algorithm
Returns
Algorithm
Example(s)
# Creates an algorithm with name, display name, and author
await sdk.algorithm.create(name='awesome-algo', display_name='Awesome Algo', author='[email protected]')
# Output (Algorithm)
id: "6a9c41bc-0daf-44b9-8ba6-0d5701c72721"
name: "awesome-algo"
display_name: "Awesome Algo"
author: "[email protected]"Updated 6 months ago