File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change 1
- ## 0.0.66-dev3
1
+ ## 0.0.66
2
2
3
3
* Add support for ` unique_element_ids ` parameter.
4
4
* Add max lifetime, via MAX_LIFETIME_SECONDS env-var, to API containers
5
- * Bump unstructured to 0.13.2
5
+ * Bump unstructured to 0.13.5
6
6
* Change default values for ` pdf_infer_table_structure ` and ` skip_infer_table_types ` . Mark ` pdf_infer_table_structure ` deprecated.
7
+ * Add support for the ` starting_page_number ` param.
7
8
8
9
## 0.0.65
9
10
Original file line number Diff line number Diff line change 30
30
# Note(austin): Parallel mode screws up hierarchy! While we deal with that,
31
31
# let's ignore parent_id fields in the results
32
32
$curl_command 2> /dev/null | jq -S ' del(..|.parent_id?)' > output.json
33
+ original_length=$( jq ' length' output.json)
33
34
34
35
# Stop if curl didn't work
35
36
if [ ! -s output.json ]; then
41
42
# Run in parallel mode
42
43
curl_command=" curl $base_url_2 /general/v0/general $params "
43
44
$curl_command 2> /dev/null | jq -S ' del(..|.parent_id?)' > parallel_output.json
45
+ parallel_length=$( jq ' length' parallel_output.json)
44
46
45
47
# Stop if curl didn't work
46
48
if [ ! -s parallel_output.json ]; then
49
51
exit 1
50
52
fi
51
53
52
- if ! diff -u output.json parallel_output.json ; then
53
- echo Parallel mode received a different output !
54
+ if ! [[ " $original_length " == " $parallel_length " ]] ; then
55
+ echo Parallel mode returned a different number of elements !
54
56
echo Params: " $params "
55
57
exit 1
56
58
fi
You can’t perform that action at this time.
0 commit comments