chore(fix): Invalid quotes for using Array[String] in HTTP request node as JSON body (#12761)
This commit is contained in:
parent
9aaee8ee47
commit
6fad719e42
1 changed files with 4 additions and 0 deletions
|
|
@ -134,6 +134,10 @@ class ArrayStringSegment(ArraySegment):
|
|||
value_type: SegmentType = SegmentType.ARRAY_STRING
|
||||
value: Sequence[str]
|
||||
|
||||
@property
|
||||
def text(self) -> str:
|
||||
return json.dumps(self.value)
|
||||
|
||||
|
||||
class ArrayNumberSegment(ArraySegment):
|
||||
value_type: SegmentType = SegmentType.ARRAY_NUMBER
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue