chore(fix): Invalid quotes for using Array[String] in HTTP request node as JSON body (#12761)
This commit is contained in:
@@ -134,6 +134,10 @@ class ArrayStringSegment(ArraySegment):
|
|||||||
value_type: SegmentType = SegmentType.ARRAY_STRING
|
value_type: SegmentType = SegmentType.ARRAY_STRING
|
||||||
value: Sequence[str]
|
value: Sequence[str]
|
||||||
|
|
||||||
|
@property
|
||||||
|
def text(self) -> str:
|
||||||
|
return json.dumps(self.value)
|
||||||
|
|
||||||
|
|
||||||
class ArrayNumberSegment(ArraySegment):
|
class ArrayNumberSegment(ArraySegment):
|
||||||
value_type: SegmentType = SegmentType.ARRAY_NUMBER
|
value_type: SegmentType = SegmentType.ARRAY_NUMBER
|
||||||
|
Reference in New Issue
Block a user