Commit 3625f28
committed
Move blobs to
Blob URLs now start with `blob/` and are easier to generate. Blob
objects are `BaseModel` subclasses that can be serialised/deserialised, using contextvars to generate URLs and retrieve BlobData objects.
This obviates file responses from invocation outputs and also the `invocations/<id>/files` endpointBlobManager
1 parent ac8307c commit 3625f28
File tree
6 files changed
+239
-226
lines changed- src/labthings_fastapi
- actions
- descriptors
- outputs
- server
- utilities
- tests
6 files changed
+239
-226
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | 179 | | |
190 | 180 | | |
191 | 181 | | |
| |||
338 | 328 | | |
339 | 329 | | |
340 | 330 | | |
341 | | - | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
342 | 334 | | |
343 | 335 | | |
344 | 336 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| 168 | + | |
168 | 169 | | |
169 | 170 | | |
170 | 171 | | |
| |||
221 | 222 | | |
222 | 223 | | |
223 | 224 | | |
224 | | - | |
225 | | - | |
| 225 | + | |
| 226 | + | |
226 | 227 | | |
227 | 228 | | |
228 | 229 | | |
| |||
0 commit comments