Commit ebe0ede
authored
feat: support proto 3 (#1078)
* feat: allow to source for pb
Signed-off-by: samsja <sami.jaghouar@hotmail.fr>
* feat: add proto 3 files
Signed-off-by: samsja <sami.jaghouar@hotmail.fr>
* chore: add ci run for proto 3
Signed-off-by: samsja <sami.jaghouar@hotmail.fr>
* chore: remove upper limit on proto
Signed-off-by: samsja <sami.jaghouar@hotmail.fr>
---------
Signed-off-by: samsja <sami.jaghouar@hotmail.fr>1 parent 37b6d3e commit ebe0edeCopy full SHA for ebe0ede
13 files changed
+236-19Lines changed: 236 additions & 19 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- .github/workflows
- docarray/proto
- pb2
- pb
- tests
- integrations/document
- units
- array
- document/proto
- typing/url
Expand file treeCollapse file tree
Open diff view settings
Collapse file
+27Lines changed: 27 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
133 | 133 | |
134 | 134 | |
135 | 135 | |
| 136 | + |
| 137 | + |
| 138 | + |
| 139 | + |
| 140 | + |
| 141 | + |
| 142 | + |
| 143 | + |
| 144 | + |
| 145 | + |
| 146 | + |
| 147 | + |
| 148 | + |
| 149 | + |
| 150 | + |
| 151 | + |
| 152 | + |
| 153 | + |
| 154 | + |
| 155 | + |
| 156 | + |
| 157 | + |
| 158 | + |
| 159 | + |
| 160 | + |
| 161 | + |
| 162 | + |
136 | 163 | |
137 | 164 | |
138 | 165 | |
|
Collapse file
+20-8Lines changed: 20 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | | - |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
8 | | - |
| 1 | + |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
| 17 | + |
| 18 | + |
| 19 | + |
| 20 | + |
9 | 21 | |
10 | 22 | |
11 | 23 | |
|
Collapse file
docarray/proto/pb/docarray_pb2.py
Copy file name to clipboardExpand all lines: docarray/proto/pb/docarray_pb2.py+48Lines changed: 48 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file
docarray/proto/pb2/docarray_pb2.py
Copy file name to clipboardExpand all lines: docarray/proto/pb2/docarray_pb2.py+113-3Lines changed: 113 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Collapse file
+4-4Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
9 | 9 | |
10 | 10 | |
11 | 11 | |
12 | | - |
| 12 | + |
13 | 13 | |
14 | 14 | |
15 | 15 | |
| ||
71 | 71 | |
72 | 72 | |
73 | 73 | |
74 | | - |
| 74 | + |
75 | 75 | |
76 | 76 | |
77 | | - |
| 77 | + |
78 | 78 | |
79 | 79 | |
80 | 80 | |
81 | 81 | |
82 | 82 | |
83 | 83 | |
84 | | - |
| 84 | + |
85 | 85 | |
Collapse file
tests/integrations/document/test_proto.py
Copy file name to clipboardExpand all lines: tests/integrations/document/test_proto.py+3Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
| 2 | + |
2 | 3 | |
3 | 4 | |
4 | 5 | |
| ||
19 | 20 | |
20 | 21 | |
21 | 22 | |
| 23 | + |
22 | 24 | |
23 | 25 | |
24 | 26 | |
| ||
31 | 33 | |
32 | 34 | |
33 | 35 | |
| 36 | + |
34 | 37 | |
35 | 38 | |
36 | 39 | |
|
Collapse file
tests/units/array/test_array_proto.py
Copy file name to clipboardExpand all lines: tests/units/array/test_array_proto.py+5Lines changed: 5 additions & 0 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 | |
8 | 9 | |
| 10 | + |
9 | 11 | |
10 | 12 | |
11 | 13 | |
| ||
22 | 24 | |
23 | 25 | |
24 | 26 | |
| 27 | + |
25 | 28 | |
26 | 29 | |
27 | 30 | |
| ||
39 | 42 | |
40 | 43 | |
41 | 44 | |
| 45 | + |
42 | 46 | |
43 | 47 | |
44 | 48 | |
| ||
56 | 60 | |
57 | 61 | |
58 | 62 | |
| 63 | + |
59 | 64 | |
60 | 65 | |
61 | 66 | |
|
Collapse file
tests/units/array/test_array_stacked.py
Copy file name to clipboardExpand all lines: tests/units/array/test_array_stacked.py+2-4Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
37 | 37 | |
38 | 38 | |
39 | 39 | |
40 | | - |
41 | 40 | |
42 | 41 | |
43 | 42 | |
44 | 43 | |
45 | 44 | |
46 | 45 | |
47 | | - |
48 | 46 | |
49 | 47 | |
50 | 48 | |
| ||
67 | 65 | |
68 | 66 | |
69 | 67 | |
70 | | - |
71 | 68 | |
72 | 69 | |
73 | 70 | |
| ||
138 | 135 | |
139 | 136 | |
140 | 137 | |
| 138 | + |
141 | 139 | |
142 | | - |
143 | 140 | |
144 | 141 | |
145 | 142 | |
| 143 | + |
146 | 144 | |
147 | 145 | |
148 | 146 | |
|
0 commit comments