Skip to content

Commit

Permalink
add python setting to schemas (#1500)
Browse files Browse the repository at this point in the history
  • Loading branch information
pnadolny13 authored Aug 29, 2023
1 parent 8310b46 commit 620dd2f
Show file tree
Hide file tree
Showing 13 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions schemas/api/extractors.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
"repo": {},
"logo_url": {},
"hidden": {},
"python": {},
"settings_group_validation": {},
"commands": {},
"capabilities": {},
Expand Down
1 change: 1 addition & 0 deletions schemas/api/loaders.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"label": {},
"settings": {},
"docs": {},
"python": {},
"settings_group_validation": {},
"commands": {},
"dialect": {},
Expand Down
1 change: 1 addition & 0 deletions schemas/api/mappers.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"logo_url": {},
"requires": {},
"settings": {},
"python": {},
"settings_group_validation": {},
"capabilities": {}
}
Expand Down
1 change: 1 addition & 0 deletions schemas/api/orchestrators.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"executable": {},
"settings": {},
"docs": {},
"python": {},
"settings_group_validation": {},
"commands": {},
"variant": {},
Expand Down
1 change: 1 addition & 0 deletions schemas/api/transformers.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"executable": {},
"settings": {},
"docs": {},
"python": {},
"settings_group_validation": {},
"commands": {},
"variant": {},
Expand Down
1 change: 1 addition & 0 deletions schemas/api/utilities.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"executable": {},
"settings": {},
"docs": {},
"python": {},
"settings_group_validation": {},
"commands": {},
"variant": {},
Expand Down
9 changes: 9 additions & 0 deletions schemas/common/common.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,15 @@
"type": "string",
"description": "The URL to the repository where the plugin extension code lives."
},
"python": {
"type": "string",
"description": "The python version to use for this plugin, specified as a path, or as the name of an executable to find within a directory in $PATH. If not specified, the top-level `python` setting will be used, or if it is not set, the python executable that was used to run Meltano will be used (within a separate virtual environment).",
"examples": [
"/usr/bin/python3.10",
"python",
"python3.11"
]
},
"settings": {
"type": "array",
"items": {
Expand Down
1 change: 1 addition & 0 deletions schemas/plugin_definitions/extractors.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
"repo": {},
"logo_url": {},
"hidden": {},
"python": {},
"settings_group_validation": {},
"commands": {},
"capabilities": {},
Expand Down
1 change: 1 addition & 0 deletions schemas/plugin_definitions/loaders.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"label": {},
"settings": {},
"docs": {},
"python": {},
"settings_group_validation": {},
"commands": {},
"dialect": {},
Expand Down
1 change: 1 addition & 0 deletions schemas/plugin_definitions/mappers.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
"keywords": {},
"definition": {},
"next_steps": {},
"python": {},
"settings_preamble": {},
"settings": {},
"settings_group_validation": {},
Expand Down
1 change: 1 addition & 0 deletions schemas/plugin_definitions/orchestrators.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"executable": {},
"settings": {},
"docs": {},
"python": {},
"settings_group_validation": {},
"commands": {},
"variant": {},
Expand Down
1 change: 1 addition & 0 deletions schemas/plugin_definitions/transformers.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"executable": {},
"settings": {},
"docs": {},
"python": {},
"settings_group_validation": {},
"commands": {},
"variant": {},
Expand Down
1 change: 1 addition & 0 deletions schemas/plugin_definitions/utilities.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
"executable": {},
"settings": {},
"docs": {},
"python": {},
"settings_group_validation": {},
"commands": {},
"variant": {},
Expand Down

0 comments on commit 620dd2f

Please sign in to comment.