chore(fix): Invalid quotes for using Array[String] in HTTP request node as JSON body (#12761)

pull/12885/head^2
Bowen Liang 1 year ago committed by GitHub
parent 9aaee8ee47
commit 6fad719e42
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save