fix(python): align python_binary schema with argument support (#7415)

This commit is contained in:
Martim Lobao
2026-04-30 20:07:59 +01:00
committed by GitHub
parent 53270fb3f6
commit 3ec9b5c54c
3 changed files with 65 additions and 14 deletions
+20 -7
View File
@@ -5668,7 +5668,7 @@
"type": "object",
"properties": {
"pixi_binary": {
"$ref": "#/$defs/Either2",
"$ref": "#/$defs/VecOr_string",
"default": [
"pixi"
]
@@ -5724,7 +5724,7 @@
},
"additionalProperties": false
},
"Either2": {
"VecOr_string": {
"anyOf": [
{
"type": "string"
@@ -5832,7 +5832,7 @@
"default": "pyenv "
},
"python_binary": {
"$ref": "#/$defs/Either2",
"$ref": "#/$defs/VecOr_VecOr_string",
"default": [
[
"python"
@@ -5916,6 +5916,19 @@
},
"additionalProperties": false
},
"VecOr_VecOr_string": {
"anyOf": [
{
"$ref": "#/$defs/VecOr_string"
},
{
"type": "array",
"items": {
"$ref": "#/$defs/VecOr_string"
}
}
]
},
"QuartoConfig": {
"type": "object",
"properties": {
@@ -6449,7 +6462,7 @@
"default": "S "
},
"compiler": {
"$ref": "#/$defs/Either2",
"$ref": "#/$defs/VecOr_string",
"default": [
"solc"
]
@@ -7146,7 +7159,7 @@
"default": ""
},
"when": {
"$ref": "#/$defs/Either3",
"$ref": "#/$defs/Either2",
"default": false
},
"require_repo": {
@@ -7154,7 +7167,7 @@
"default": false
},
"shell": {
"$ref": "#/$defs/Either2",
"$ref": "#/$defs/VecOr_string",
"default": []
},
"description": {
@@ -7213,7 +7226,7 @@
},
"additionalProperties": false
},
"Either3": {
"Either2": {
"anyOf": [
{
"type": "boolean"