Commit b62804c
fix: Also load input from a file with a .json extension in file system storage (#617)
- fixes bug reported in
https://apify.slack.com/archives/C0L33UM7Z/p1759754068120539
---------
Co-authored-by: Vlada Dusek <v.dusek96@gmail.com>1 parent cfadc98 commit b62804cCopy full SHA for b62804c
5 files changed
+104-36Lines changed: 104 additions & 36 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- src/apify
- storage_clients/_file_system
- tests/unit/storage_clients
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
36 | 36 | |
37 | 37 | |
38 | 38 | |
39 | | - |
| 39 | + |
40 | 40 | |
41 | 41 | |
42 | 42 | |
|
Collapse file
src/apify/_configuration.py
Copy file name to clipboardExpand all lines: src/apify/_configuration.py+9Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
| 6 | + |
6 | 7 | |
7 | 8 | |
8 | 9 | |
| ||
421 | 422 | |
422 | 423 | |
423 | 424 | |
| 425 | + |
| 426 | + |
| 427 | + |
| 428 | + |
| 429 | + |
| 430 | + |
| 431 | + |
| 432 | + |
424 | 433 | |
425 | 434 | |
426 | 435 | |
|
Collapse file
src/apify/storage_clients/_file_system/_key_value_store_client.py
Copy file name to clipboard+66-20Lines changed: 66 additions & 20 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
| 3 | + |
4 | 4 | |
5 | | - |
| 5 | + |
| 6 | + |
6 | 7 | |
7 | 8 | |
| 9 | + |
8 | 10 | |
| 11 | + |
9 | 12 | |
10 | 13 | |
11 | 14 | |
| 15 | + |
| 16 | + |
12 | 17 | |
13 | 18 | |
14 | 19 | |
| ||
17 | 22 | |
18 | 23 | |
19 | 24 | |
| 25 | + |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
| 39 | + |
| 40 | + |
20 | 41 | |
21 | 42 | |
22 | 43 | |
23 | 44 | |
24 | 45 | |
25 | 46 | |
26 | 47 | |
27 | | - |
28 | | - |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
| 48 | + |
33 | 49 | |
34 | 50 | |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
35 | 56 | |
36 | | - |
| 57 | + |
37 | 58 | |
38 | 59 | |
39 | 60 | |
| ||
43 | 64 | |
44 | 65 | |
45 | 66 | |
46 | | - |
47 | | - |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
48 | 71 | |
49 | | - |
50 | | - |
51 | | - |
52 | | - |
53 | | - |
54 | | - |
55 | | - |
56 | | - |
57 | | - |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
| 83 | + |
| 84 | + |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
| 103 | + |
Collapse file
tests/unit/storage_clients/test_file_system.py
Copy file name to clipboardExpand all lines: tests/unit/storage_clients/test_file_system.py+23-10Lines changed: 23 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2 | 2 | |
3 | 3 | |
4 | 4 | |
5 | | - |
| 5 | + |
6 | 6 | |
| 7 | + |
| 8 | + |
| 9 | + |
7 | 10 | |
8 | 11 | |
9 | 12 | |
10 | 13 | |
11 | 14 | |
12 | | - |
13 | | - |
14 | | - |
15 | 15 | |
16 | 16 | |
17 | 17 | |
| ||
61 | 61 | |
62 | 62 | |
63 | 63 | |
64 | | - |
| 64 | + |
| 65 | + |
65 | 66 | |
| 67 | + |
| 68 | + |
| 69 | + |
| 70 | + |
| 71 | + |
| 72 | + |
| 73 | + |
| 74 | + |
| 75 | + |
66 | 76 | |
67 | | - |
68 | 77 | |
69 | 78 | |
70 | 79 | |
71 | 80 | |
72 | | - |
73 | 81 | |
74 | | - |
75 | | - |
76 | | - |
| 82 | + |
77 | 83 | |
78 | 84 | |
79 | 85 | |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
Collapse file
+5-5Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments