Preserve data schema when cloning file parser blocks (#4337)
This commit is contained in:
@@ -3254,6 +3254,7 @@ function convertBlocksToBlockYAML(
|
|||||||
block_type: "file_url_parser",
|
block_type: "file_url_parser",
|
||||||
file_url: block.file_url,
|
file_url: block.file_url,
|
||||||
file_type: block.file_type,
|
file_type: block.file_type,
|
||||||
|
json_schema: block.json_schema,
|
||||||
};
|
};
|
||||||
return blockYaml;
|
return blockYaml;
|
||||||
}
|
}
|
||||||
@@ -3298,6 +3299,7 @@ function convertBlocksToBlockYAML(
|
|||||||
url: block.url,
|
url: block.url,
|
||||||
headers: block.headers,
|
headers: block.headers,
|
||||||
body: block.body,
|
body: block.body,
|
||||||
|
files: block.files,
|
||||||
timeout: block.timeout,
|
timeout: block.timeout,
|
||||||
follow_redirects: block.follow_redirects,
|
follow_redirects: block.follow_redirects,
|
||||||
parameter_keys: block.parameters.map((p) => p.key),
|
parameter_keys: block.parameters.map((p) => p.key),
|
||||||
|
|||||||
Reference in New Issue
Block a user