Skip to content

Commit

Permalink
auto-organize
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 31, 2023
1 parent 17bd3f8 commit 18d9ead
Show file tree
Hide file tree
Showing 2 changed files with 133 additions and 122 deletions.
251 changes: 131 additions & 120 deletions .domino/compiled_metadata.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,114 @@
{
"GetDateTimePiece": {
"name": "GetDateTimePiece",
"dependency": {
"dockerfile": null,
"requirements_file": "requirements_0.txt"
},
"tags": [
"datetime",
"default"
],
"style": {
"node_label": "Get Datetime",
"node_type": "default",
"node_style": {
"backgroundColor": "#b3cde8"
},
"useIcon": true,
"icon_class_name": "far fa-calendar",
"iconStyle": {
"cursor": "pointer"
}
},
"description": "A Piece that gets current system date and time.",
"input_schema": {
"title": "InputModel",
"description": "GetDateTimePiece Input Model",
"type": "object",
"properties": {
"use_timezone": {
"title": "Use Timezone",
"description": "Whether to use a timezone for the timestamp.",
"default": false,
"type": "boolean"
},
"timezone": {
"description": "Timezone to use for timestamp.",
"default": "(UTC+00) - UTC",
"allOf": [
{
"$ref": "#/definitions/TZOptions"
}
]
}
},
"definitions": {
"TZOptions": {
"title": "TZOptions",
"description": "An enumeration.",
"enum": [
"(UTC-11) - Pacific/Pago_Pago",
"(UTC-10) - US/Hawaii",
"(UTC-09) - Pacific/Gambier",
"(UTC-08) - US/Alaska",
"(UTC-07) - US/Pacific",
"(UTC-06) - US/Mountain",
"(UTC-05) - US/Central",
"(UTC-04) - US/Eastern",
"(UTC-03) - Canada/Atlantic",
"(UTC-02) - Atlantic/South_Georgia",
"(UTC-01) - Atlantic/Cape_Verde",
"(UTC+00) - UTC",
"(UTC+01) - Europe/London",
"(UTC+02) - Europe/Zurich",
"(UTC+03) - Indian/Mayotte",
"(UTC+04) - Asia/Tehran",
"(UTC+05) - Asia/Kathmandu",
"(UTC+06) - Indian/Cocos",
"(UTC+07) - Indian/Christmas",
"(UTC+08) - Australia/Eucla",
"(UTC+09) - Australia/Darwin",
"(UTC+10) - Australia/Lord_Howe",
"(UTC+11) - Pacific/Pohnpei",
"(UTC+12) - Pacific/Chatham",
"(UTC+13) - Pacific/Tongatapu",
"(UTC+14) - Pacific/Kiritimati"
],
"type": "string"
}
}
},
"output_schema": {
"title": "OutputModel",
"description": "GetDateTimePiece Output Model",
"type": "object",
"properties": {
"date": {
"title": "Date",
"description": "Date of the timestamp, in ISO format.",
"type": "string"
},
"time": {
"title": "Time",
"description": "Time of the timestamp, in ISO format.",
"type": "string"
},
"datetime": {
"title": "Datetime",
"description": "Datetime of the timestamp, in ISO format.",
"type": "string"
}
},
"required": [
"date",
"time",
"datetime"
]
},
"secrets_schema": null,
"source_url": "https://github.com/Tauffer-Consulting/default_domino_pieces/tree/main/pieces/GetDateTimePiece"
},
"CustomPythonPiece": {
"name": "CustomPythonPiece",
"dependency": {
Expand Down Expand Up @@ -32,19 +142,24 @@
"description": "Input arguments.",
"default": [
{
"input_arg": ""
"kwarg_name": "kwarg_2",
"kwarg_value": ""
},
{
"kwarg_name": "kwarg_1",
"kwarg_value": ""
}
],
"from_upstream": "never",
"type": "array",
"items": {
"$ref": "#/definitions/InputArgsModel"
"$ref": "#/definitions/InputKwargsModel"
}
},
"script": {
"title": "Script",
"description": "Python script.",
"default": "# Do not modify the function definition line \ndef custom_function(input_args: list):\n # Write your code here\n print(input_args)\n\n # Return the output of the function as an object,\n # Matching the Output Args defined in the Form below\n return {\n \"out_arg_1\": \"this is a string\", \n \"out_arg_2\": 420\n }\n",
"default": "# Do not modify the function definition line \ndef custom_function(kwarg_1, kwarg_2):\n # Write your code here\n print(f\"First argument: {kwarg_1}\")\n print(f\"Second argument: {kwarg_2}\")\n\n # Return the output of the function as an object,\n # Matching the Output Args defined in the Form below\n return {\n \"output_1\": \"this is a string\", \n \"output_2\": 420\n }\n",
"widget": "codeeditor",
"from_upstream": "never",
"type": "string"
Expand All @@ -54,12 +169,12 @@
"description": "Output arguments.",
"default": [
{
"name": "output_arg_1",
"name": "output_1",
"description": "An example string output",
"type": "string"
},
{
"name": "output_arg_2",
"name": "output_2",
"description": "An example integer output",
"type": "integer"
}
Expand All @@ -72,13 +187,19 @@
}
},
"definitions": {
"InputArgsModel": {
"title": "InputArgsModel",
"InputKwargsModel": {
"title": "InputKwargsModel",
"type": "object",
"properties": {
"input_arg": {
"title": "Input Arg",
"description": "Input argument.",
"kwarg_name": {
"title": "Kwarg Name",
"description": "Argument name.",
"from_upstream": "never",
"type": "string"
},
"kwarg_value": {
"title": "Kwarg Value",
"description": "Argument value.",
"from_upstream": "always",
"type": "string"
}
Expand Down Expand Up @@ -332,116 +453,6 @@
"secrets_schema": null,
"source_url": "https://github.com/Tauffer-Consulting/default_domino_pieces/tree/main/pieces/SimpleLogPiece"
},
"GetDateTimePiece": {
"name": "GetDateTimePiece",
"dependency": {
"dockerfile": null,
"requirements_file": "requirements_0.txt"
},
"tags": [
"datetime",
"default"
],
"style": {
"node_label": "Get Datetime",
"node_type": "default",
"node_style": {
"backgroundColor": "#b3cde8"
},
"useIcon": true,
"icon_class_name": "far fa-calendar",
"iconStyle": {
"cursor": "pointer"
}
},
"description": "A Piece that gets current system date and time.",
"input_schema": {
"title": "InputModel",
"description": "GetDateTimePiece Input Model",
"type": "object",
"properties": {
"use_timezone": {
"title": "Use Timezone",
"description": "Whether to use a timezone for the timestamp.",
"default": false,
"type": "boolean"
},
"timezone": {
"description": "Timezone to use for timestamp.",
"default": "(UTC+00) - UTC",
"allOf": [
{
"$ref": "#/definitions/TZOptions"
}
]
}
},
"definitions": {
"TZOptions": {
"title": "TZOptions",
"description": "An enumeration.",
"enum": [
"(UTC-11) - Pacific/Pago_Pago",
"(UTC-10) - US/Hawaii",
"(UTC-09) - Pacific/Gambier",
"(UTC-08) - US/Alaska",
"(UTC-07) - US/Pacific",
"(UTC-06) - US/Mountain",
"(UTC-05) - US/Central",
"(UTC-04) - US/Eastern",
"(UTC-03) - Canada/Atlantic",
"(UTC-02) - Atlantic/South_Georgia",
"(UTC-01) - Atlantic/Cape_Verde",
"(UTC+00) - UTC",
"(UTC+01) - Europe/London",
"(UTC+02) - Europe/Zurich",
"(UTC+03) - Indian/Mayotte",
"(UTC+04) - Asia/Tehran",
"(UTC+05) - Asia/Kathmandu",
"(UTC+06) - Indian/Cocos",
"(UTC+07) - Indian/Christmas",
"(UTC+08) - Australia/Eucla",
"(UTC+09) - Australia/Darwin",
"(UTC+10) - Australia/Lord_Howe",
"(UTC+11) - Pacific/Pohnpei",
"(UTC+12) - Pacific/Chatham",
"(UTC+13) - Pacific/Tongatapu",
"(UTC+14) - Pacific/Kiritimati"
],
"type": "string"
}
}
},
"output_schema": {
"title": "OutputModel",
"description": "GetDateTimePiece Output Model",
"type": "object",
"properties": {
"date": {
"title": "Date",
"description": "Date of the timestamp, in ISO format.",
"type": "string"
},
"time": {
"title": "Time",
"description": "Time of the timestamp, in ISO format.",
"type": "string"
},
"datetime": {
"title": "Datetime",
"description": "Datetime of the timestamp, in ISO format.",
"type": "string"
}
},
"required": [
"date",
"time",
"datetime"
]
},
"secrets_schema": null,
"source_url": "https://github.com/Tauffer-Consulting/default_domino_pieces/tree/main/pieces/GetDateTimePiece"
},
"SleepPiece": {
"name": "SleepPiece",
"dependency": {
Expand Down
4 changes: 2 additions & 2 deletions .domino/dependencies_map.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
"requirements_file": "requirements_0.txt"
},
"pieces": [
"GetDateTimePiece",
"CustomPythonPiece",
"SimpleLogPiece",
"GetDateTimePiece",
"SleepPiece"
],
"secrets": [],
"source_image": "ghcr.io/tauffer-consulting/default_domino_pieces:0.3.10-group0"
"source_image": "ghcr.io/tauffer-consulting/default_domino_pieces:0.3.11-group0"
}
}

0 comments on commit 18d9ead

Please sign in to comment.