Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions connect/models/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@ class Param(BaseModel):
value_choice = None # type: Optional[List[str]]
""" (List[str]|None) Available choices for parameter. """

value_choices = None # type: Optional[List[ValueChoice]]
""" (List[str]|None) Available dropdown choices for parameter. """

# Undocumented fields (they appear in PHP SDK)
title = None # type: Optional[str]
""" (str|None) Title for parameter. """
Expand Down
1 change: 1 addition & 0 deletions connect/models/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -337,6 +337,7 @@ class ParamSchema(BaseSchema):
value = fields.Str(allow_none=True)
value_error = fields.Str(allow_none=True)
value_choice = fields.Str(many=True, allow_none=True)
value_choices = fields.Nested(ValueChoiceSchema, many=True, allow_none=True)

# Undocumented fields (they appear in PHP SDK)
title = fields.Str(allow_none=True)
Expand Down