Skip to content

Commit 3056322

Browse files
committed
Contributed values can be of any type
Signed-off-by: Louis Mandel <[email protected]>
1 parent cb63c69 commit 3056322

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/pdl/pdl-schema.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2218,10 +2218,7 @@
22182218
{
22192219
"$ref": "#/$defs/LocalizedExpression_TypeVar_"
22202220
},
2221-
{
2222-
"items": {},
2223-
"type": "array"
2224-
},
2221+
{},
22252222
{
22262223
"type": "string"
22272224
}

src/pdl/pdl_ast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ class ContributeTarget(StrEnum):
177177

178178

179179
class ContributeValue(BaseModel):
180-
value: ExpressionType[list[Any]]
180+
value: ExpressionType[Any]
181181
model_config = ConfigDict(extra="forbid")
182182

183183

0 commit comments

Comments
 (0)