We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9aeb4a9 commit 2ba92d7Copy full SHA for 2ba92d7
src/pdl/pdl-schema.json
@@ -1407,9 +1407,19 @@
1407
"additionalProperties": false,
1408
"properties": {
1409
"value": {
1410
- "items": {},
1411
- "title": "Value",
1412
- "type": "array"
+ "anyOf": [
+ {
+ "items": {},
1413
+ "type": "array"
1414
+ },
1415
1416
+ "type": "string"
1417
1418
1419
+ "$ref": "#/$defs/LocalizedExpression_TypeVar_"
1420
+ }
1421
+ ],
1422
+ "title": "Value"
1423
}
1424
},
1425
"required": [
src/pdl/pdl_ast.py
@@ -175,7 +175,7 @@ class ContributeTarget(StrEnum):
175
176
177
class ContributeValue(BaseModel):
178
- value: list[Any]
+ value: ExpressionType[list[Any]]
179
model_config = ConfigDict(extra="forbid")
180
181
0 commit comments