You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Utilities plugin is used to store common utility functions used by various plugins/workflows.
Where each step of the plugin corresponds to a different utility functionality. Refer to individual step functions in arcaflow_plugin_utilities.py to see what input is expected for each step.
Create the container with docker build -t arca-utilities -f Dockerfile
Run cat example.yaml | docker run -i arca-utilities -f - to run the plugin
Native
Clone this repository
Create a venv in the current directory with python3 -m venv $(pwd)/venv
Activate the venv by running source venv/bin/activate
Run pip install poetry
Run poetry install
Run arcaflow_plugin_utilities/arcaflow_plugin_utilities.py -f example.yaml to run the plugin
Image Building
You can change this plugin's image version tag in
.github/workflows/carpenter.yaml by editing the
IMAGE_TAG variable, and pushing that change to the
branch designated in that workflow.
Autogenerated Input/Output Documentation by Arcaflow-Docsgen Below
Generate timestamp (timestamp)
Generates a random timestamp in ISO 8601 format with millisecond accuracy
Input
Type:
scope
Root object:
InputParams
Properties
ObjectsInputParams (object)
Type:
object
Properties
Outputs
error
Type:
scope
Root object:
ErrorOutput
Properties
error (string)
Name:
Failure Error
Description:
Reason for failure
Required:
Yes
Type:
string
ObjectsErrorOutput (object)
Type:
object
Properties
error (string)
Name:
Failure Error
Description:
Reason for failure
Required:
Yes
Type:
string
success
Type:
scope
Root object:
SuccessOutputTimestamp
Properties
timestamp (string)
Name:
timestamp
Description:
An ISO 8601 timestamp with millisecond precision
Required:
Yes
Type:
string
ObjectsSuccessOutputTimestamp (object)
Type:
object
Properties
timestamp (string)
Name:
timestamp
Description:
An ISO 8601 timestamp with millisecond precision
Required:
Yes
Type:
string
Generate UUID (uuid)
Generates a random UUID which can be used for tracking uniqueness