Preserve data schema when cloning file parser blocks (#4337)

This commit is contained in:
Marc Kelechava
2025-12-18 19:16:59 -08:00
committed by GitHub
parent b3e8a59e2d
commit de223c9787

View File

@@ -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),