fsspec 2024.3.0__py3-none-any.whl → 2024.5.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (87) hide show
  1. fsspec/__init__.py +2 -3
  2. fsspec/_version.py +14 -19
  3. fsspec/caching.py +83 -14
  4. fsspec/compression.py +1 -0
  5. fsspec/core.py +31 -6
  6. fsspec/exceptions.py +1 -0
  7. fsspec/generic.py +1 -1
  8. fsspec/gui.py +1 -1
  9. fsspec/implementations/arrow.py +0 -2
  10. fsspec/implementations/cache_mapper.py +1 -2
  11. fsspec/implementations/cache_metadata.py +7 -7
  12. fsspec/implementations/dirfs.py +2 -2
  13. fsspec/implementations/http.py +9 -9
  14. fsspec/implementations/local.py +97 -48
  15. fsspec/implementations/memory.py +9 -0
  16. fsspec/implementations/smb.py +3 -1
  17. fsspec/implementations/tests/__init__.py +0 -0
  18. fsspec/implementations/tests/cassettes/test_dbfs/test_dbfs_file_listing.yaml +112 -0
  19. fsspec/implementations/tests/cassettes/test_dbfs/test_dbfs_mkdir.yaml +582 -0
  20. fsspec/implementations/tests/cassettes/test_dbfs/test_dbfs_read_pyarrow_non_partitioned.yaml +873 -0
  21. fsspec/implementations/tests/cassettes/test_dbfs/test_dbfs_read_range.yaml +458 -0
  22. fsspec/implementations/tests/cassettes/test_dbfs/test_dbfs_read_range_chunked.yaml +1355 -0
  23. fsspec/implementations/tests/cassettes/test_dbfs/test_dbfs_write_and_read.yaml +795 -0
  24. fsspec/implementations/tests/cassettes/test_dbfs/test_dbfs_write_pyarrow_non_partitioned.yaml +613 -0
  25. fsspec/implementations/tests/conftest.py +39 -0
  26. fsspec/implementations/tests/local/__init__.py +0 -0
  27. fsspec/implementations/tests/local/local_fixtures.py +18 -0
  28. fsspec/implementations/tests/local/local_test.py +14 -0
  29. fsspec/implementations/tests/memory/__init__.py +0 -0
  30. fsspec/implementations/tests/memory/memory_fixtures.py +27 -0
  31. fsspec/implementations/tests/memory/memory_test.py +14 -0
  32. fsspec/implementations/tests/out.zip +0 -0
  33. fsspec/implementations/tests/test_archive.py +382 -0
  34. fsspec/implementations/tests/test_arrow.py +259 -0
  35. fsspec/implementations/tests/test_cached.py +1306 -0
  36. fsspec/implementations/tests/test_common.py +35 -0
  37. fsspec/implementations/tests/test_dask.py +29 -0
  38. fsspec/implementations/tests/test_data.py +20 -0
  39. fsspec/implementations/tests/test_dbfs.py +268 -0
  40. fsspec/implementations/tests/test_dirfs.py +588 -0
  41. fsspec/implementations/tests/test_ftp.py +178 -0
  42. fsspec/implementations/tests/test_git.py +76 -0
  43. fsspec/implementations/tests/test_http.py +577 -0
  44. fsspec/implementations/tests/test_jupyter.py +57 -0
  45. fsspec/implementations/tests/test_libarchive.py +33 -0
  46. fsspec/implementations/tests/test_local.py +1285 -0
  47. fsspec/implementations/tests/test_memory.py +382 -0
  48. fsspec/implementations/tests/test_reference.py +720 -0
  49. fsspec/implementations/tests/test_sftp.py +233 -0
  50. fsspec/implementations/tests/test_smb.py +139 -0
  51. fsspec/implementations/tests/test_tar.py +243 -0
  52. fsspec/implementations/tests/test_webhdfs.py +197 -0
  53. fsspec/implementations/tests/test_zip.py +134 -0
  54. fsspec/implementations/webhdfs.py +1 -3
  55. fsspec/mapping.py +2 -2
  56. fsspec/parquet.py +0 -8
  57. fsspec/registry.py +4 -0
  58. fsspec/spec.py +21 -4
  59. fsspec/tests/__init__.py +0 -0
  60. fsspec/tests/abstract/mv.py +57 -0
  61. fsspec/tests/conftest.py +188 -0
  62. fsspec/tests/data/listing.html +1 -0
  63. fsspec/tests/test_api.py +498 -0
  64. fsspec/tests/test_async.py +230 -0
  65. fsspec/tests/test_caches.py +255 -0
  66. fsspec/tests/test_callbacks.py +89 -0
  67. fsspec/tests/test_compression.py +164 -0
  68. fsspec/tests/test_config.py +129 -0
  69. fsspec/tests/test_core.py +466 -0
  70. fsspec/tests/test_downstream.py +40 -0
  71. fsspec/tests/test_file.py +200 -0
  72. fsspec/tests/test_fuse.py +147 -0
  73. fsspec/tests/test_generic.py +90 -0
  74. fsspec/tests/test_gui.py +23 -0
  75. fsspec/tests/test_mapping.py +228 -0
  76. fsspec/tests/test_parquet.py +140 -0
  77. fsspec/tests/test_registry.py +134 -0
  78. fsspec/tests/test_spec.py +1167 -0
  79. fsspec/tests/test_utils.py +478 -0
  80. fsspec/utils.py +0 -2
  81. fsspec-2024.5.0.dist-info/METADATA +273 -0
  82. fsspec-2024.5.0.dist-info/RECORD +111 -0
  83. {fsspec-2024.3.0.dist-info → fsspec-2024.5.0.dist-info}/WHEEL +1 -2
  84. fsspec-2024.3.0.dist-info/METADATA +0 -167
  85. fsspec-2024.3.0.dist-info/RECORD +0 -54
  86. fsspec-2024.3.0.dist-info/top_level.txt +0 -1
  87. {fsspec-2024.3.0.dist-info → fsspec-2024.5.0.dist-info/licenses}/LICENSE +0 -0
@@ -0,0 +1,582 @@
1
+ interactions:
2
+ - request:
3
+ body: '{"path": "/FileStore/my", "recursive": true}'
4
+ headers:
5
+ Accept:
6
+ - '*/*'
7
+ Accept-Encoding:
8
+ - gzip, deflate
9
+ Connection:
10
+ - keep-alive
11
+ Content-Length:
12
+ - '44'
13
+ Content-Type:
14
+ - application/json
15
+ User-Agent:
16
+ - python-requests/2.31.0
17
+ authorization:
18
+ - DUMMY
19
+ method: POST
20
+ uri: https://my_instance.com/api/2.0/dbfs/delete
21
+ response:
22
+ body:
23
+ string: '{}'
24
+ headers:
25
+ access-control-allow-headers:
26
+ - Authorization, X-Databricks-Azure-Workspace-Resource-Id, X-Databricks-Org-Id,
27
+ Content-Type
28
+ access-control-allow-origin:
29
+ - '*'
30
+ cache-control:
31
+ - no-cache, no-store, must-revalidate
32
+ content-length:
33
+ - '2'
34
+ content-type:
35
+ - application/json
36
+ expires:
37
+ - '0'
38
+ pragma:
39
+ - no-cache
40
+ server:
41
+ - databricks
42
+ strict-transport-security:
43
+ - max-age=31536000; includeSubDomains; preload
44
+ x-content-type-options:
45
+ - nosniff
46
+ status:
47
+ code: 200
48
+ message: OK
49
+ - request:
50
+ body: '{"path": "/FileStore/"}'
51
+ headers:
52
+ Accept:
53
+ - '*/*'
54
+ Accept-Encoding:
55
+ - gzip, deflate
56
+ Connection:
57
+ - keep-alive
58
+ Content-Length:
59
+ - '23'
60
+ Content-Type:
61
+ - application/json
62
+ User-Agent:
63
+ - python-requests/2.31.0
64
+ authorization:
65
+ - DUMMY
66
+ method: GET
67
+ uri: https://my_instance.com/api/2.0/dbfs/list
68
+ response:
69
+ body:
70
+ string: !!binary |
71
+ H4sIAAAAAAAEA5yTQW7DIBBF7zJrV4FgBtsH6AW6rCJrWkhDaxcLJoraKHcvtbehUmE5Ev9/3nyu
72
+ cPSTSzA8X2EhPsEAu8c8eeIQ3c4S00QfDhrwabQ+wsDx7Jr10pj8t4NBNDAH64/+ldiHz5H9nKfS
73
+ iFYhivXcmnvifl5C5IfE9FZjgFIo1Fq12eK+wTvFVJFc96iV7NAUhfN73VQjjUYp7CV2RellClyl
74
+ LDqt2y5DKdFYvijGcKkAklfZC6nbMul0oujseM7pydbFN53e4x/xmV5+e/r/Im49MX2ZzBY759++
75
+ QpWFFLgXK6DD7QcAAP//AwD4cmNjVAMAAA==
76
+ headers:
77
+ access-control-allow-headers:
78
+ - Authorization, X-Databricks-Azure-Workspace-Resource-Id, X-Databricks-Org-Id,
79
+ Content-Type
80
+ access-control-allow-origin:
81
+ - '*'
82
+ cache-control:
83
+ - no-cache, no-store, must-revalidate
84
+ content-encoding:
85
+ - gzip
86
+ content-type:
87
+ - application/json
88
+ expires:
89
+ - '0'
90
+ pragma:
91
+ - no-cache
92
+ server:
93
+ - databricks
94
+ strict-transport-security:
95
+ - max-age=31536000; includeSubDomains; preload
96
+ transfer-encoding:
97
+ - chunked
98
+ vary:
99
+ - Accept-Encoding
100
+ x-content-type-options:
101
+ - nosniff
102
+ status:
103
+ code: 200
104
+ message: OK
105
+ - request:
106
+ body: '{"path": "/FileStore/my/dir"}'
107
+ headers:
108
+ Accept:
109
+ - '*/*'
110
+ Accept-Encoding:
111
+ - gzip, deflate
112
+ Connection:
113
+ - keep-alive
114
+ Content-Length:
115
+ - '29'
116
+ Content-Type:
117
+ - application/json
118
+ User-Agent:
119
+ - python-requests/2.31.0
120
+ authorization:
121
+ - DUMMY
122
+ method: GET
123
+ uri: https://my_instance.com/api/2.0/dbfs/get-status
124
+ response:
125
+ body:
126
+ string: !!binary |
127
+ H4sIAAAAAAAEAxTKsQrDIBAA0F85bi5xz9pY6KKgKXQTSa6NEHPldEgo+ffa+b0vkghLmHgm7NFp
128
+ bx/uqsNgtQ/GjkE/737EC2YqJb7/xzC80krAAnMSmirLAbSnUgvwBp9YF1C3NnwTUvlQrXV4/gAA
129
+ AP//AwA1MpptawAAAA==
130
+ headers:
131
+ access-control-allow-headers:
132
+ - Authorization, X-Databricks-Azure-Workspace-Resource-Id, X-Databricks-Org-Id,
133
+ Content-Type
134
+ access-control-allow-origin:
135
+ - '*'
136
+ cache-control:
137
+ - no-cache, no-store, must-revalidate
138
+ content-encoding:
139
+ - gzip
140
+ content-type:
141
+ - application/json
142
+ expires:
143
+ - '0'
144
+ pragma:
145
+ - no-cache
146
+ server:
147
+ - databricks
148
+ strict-transport-security:
149
+ - max-age=31536000; includeSubDomains; preload
150
+ transfer-encoding:
151
+ - chunked
152
+ vary:
153
+ - Accept-Encoding
154
+ x-content-type-options:
155
+ - nosniff
156
+ status:
157
+ code: 404
158
+ message: Not Found
159
+ - request:
160
+ body: '{"path": "/FileStore/my/dir"}'
161
+ headers:
162
+ Accept:
163
+ - '*/*'
164
+ Accept-Encoding:
165
+ - gzip, deflate
166
+ Connection:
167
+ - keep-alive
168
+ Content-Length:
169
+ - '29'
170
+ Content-Type:
171
+ - application/json
172
+ User-Agent:
173
+ - python-requests/2.31.0
174
+ authorization:
175
+ - DUMMY
176
+ method: POST
177
+ uri: https://my_instance.com/api/2.0/dbfs/mkdirs
178
+ response:
179
+ body:
180
+ string: '{}'
181
+ headers:
182
+ access-control-allow-headers:
183
+ - Authorization, X-Databricks-Azure-Workspace-Resource-Id, X-Databricks-Org-Id,
184
+ Content-Type
185
+ access-control-allow-origin:
186
+ - '*'
187
+ cache-control:
188
+ - no-cache, no-store, must-revalidate
189
+ content-length:
190
+ - '2'
191
+ content-type:
192
+ - application/json
193
+ expires:
194
+ - '0'
195
+ pragma:
196
+ - no-cache
197
+ server:
198
+ - databricks
199
+ strict-transport-security:
200
+ - max-age=31536000; includeSubDomains; preload
201
+ x-content-type-options:
202
+ - nosniff
203
+ status:
204
+ code: 200
205
+ message: OK
206
+ - request:
207
+ body: '{"path": "/FileStore/"}'
208
+ headers:
209
+ Accept:
210
+ - '*/*'
211
+ Accept-Encoding:
212
+ - gzip, deflate
213
+ Connection:
214
+ - keep-alive
215
+ Content-Length:
216
+ - '23'
217
+ Content-Type:
218
+ - application/json
219
+ User-Agent:
220
+ - python-requests/2.31.0
221
+ authorization:
222
+ - DUMMY
223
+ method: GET
224
+ uri: https://my_instance.com/api/2.0/dbfs/list
225
+ response:
226
+ body:
227
+ string: !!binary |
228
+ H4sIAAAAAAAEA5yTQW7DIBBF7zJrV4FgBtsHyAW6rCprWkhDaxcLJqrSKHcvtbehUmE5Ev8//nyu
229
+ cPSTSzA8XWEhPsEAu0OePHKIbmeJaaIPBw34NFofYeB4ds16aUz+28EgGpiD9Uf/SuzD58h+zlNp
230
+ RKsQxXpuzT1xPy8h8kNieqsxQCkUaq3abHHf4J1iqiDXPWolOzRF4fxeN9VIo1EKe4ldWfpSQZyz
231
+ 7oXUWhdllylwFbDotG67nHUp5OVCMYaveuq2vMB0oujseM70ZOvwTaf3+Ac+08tv/f/f761+pi8n
232
+ s2Fn/u2HVVlIgXuxBvR8+wEAAP//AwAClX4HqwMAAA==
233
+ headers:
234
+ access-control-allow-headers:
235
+ - Authorization, X-Databricks-Azure-Workspace-Resource-Id, X-Databricks-Org-Id,
236
+ Content-Type
237
+ access-control-allow-origin:
238
+ - '*'
239
+ cache-control:
240
+ - no-cache, no-store, must-revalidate
241
+ content-encoding:
242
+ - gzip
243
+ content-type:
244
+ - application/json
245
+ expires:
246
+ - '0'
247
+ pragma:
248
+ - no-cache
249
+ server:
250
+ - databricks
251
+ strict-transport-security:
252
+ - max-age=31536000; includeSubDomains; preload
253
+ transfer-encoding:
254
+ - chunked
255
+ vary:
256
+ - Accept-Encoding
257
+ x-content-type-options:
258
+ - nosniff
259
+ status:
260
+ code: 200
261
+ message: OK
262
+ - request:
263
+ body: '{"path": "/FileStore/my/"}'
264
+ headers:
265
+ Accept:
266
+ - '*/*'
267
+ Accept-Encoding:
268
+ - gzip, deflate
269
+ Connection:
270
+ - keep-alive
271
+ Content-Length:
272
+ - '26'
273
+ Content-Type:
274
+ - application/json
275
+ User-Agent:
276
+ - python-requests/2.31.0
277
+ authorization:
278
+ - DUMMY
279
+ method: GET
280
+ uri: https://my_instance.com/api/2.0/dbfs/list
281
+ response:
282
+ body:
283
+ string: !!binary |
284
+ H4sIAAAAAAAEA6pWSsvMSS1WsoquVipILMlQslLSdwOKBJfkF6Xq51bqp2QWKekoZRbHgxhWJUWl
285
+ qTpgLfHFmVWpSlYGOkq5+SmZaZnJiSWZ+XnxJZm5QFFDcwMTSwNDU1NTAwOD2thaAAAAAP//AwBB
286
+ Uh1WZgAAAA==
287
+ headers:
288
+ access-control-allow-headers:
289
+ - Authorization, X-Databricks-Azure-Workspace-Resource-Id, X-Databricks-Org-Id,
290
+ Content-Type
291
+ access-control-allow-origin:
292
+ - '*'
293
+ cache-control:
294
+ - no-cache, no-store, must-revalidate
295
+ content-encoding:
296
+ - gzip
297
+ content-type:
298
+ - application/json
299
+ expires:
300
+ - '0'
301
+ pragma:
302
+ - no-cache
303
+ server:
304
+ - databricks
305
+ strict-transport-security:
306
+ - max-age=31536000; includeSubDomains; preload
307
+ transfer-encoding:
308
+ - chunked
309
+ vary:
310
+ - Accept-Encoding
311
+ x-content-type-options:
312
+ - nosniff
313
+ status:
314
+ code: 200
315
+ message: OK
316
+ - request:
317
+ body: '{"path": "/FileStore/my/dir"}'
318
+ headers:
319
+ Accept:
320
+ - '*/*'
321
+ Accept-Encoding:
322
+ - gzip, deflate
323
+ Connection:
324
+ - keep-alive
325
+ Content-Length:
326
+ - '29'
327
+ Content-Type:
328
+ - application/json
329
+ User-Agent:
330
+ - python-requests/2.31.0
331
+ authorization:
332
+ - DUMMY
333
+ method: GET
334
+ uri: https://my_instance.com/api/2.0/dbfs/get-status
335
+ response:
336
+ body:
337
+ string: !!binary |
338
+ H4sIAAAAAAAEA6pWKkgsyVCyUtJ3y8xJDS7JL0rVz63UT8ksUtJRyiyOBzGsSopKU3WU0oAK4osz
339
+ q1KVrAx0lHLzUzLTMpMTSzLz8+JLMnOBoobmBiaWBoampqYGBga1AAAAAP//AwA25IEBWgAAAA==
340
+ headers:
341
+ access-control-allow-headers:
342
+ - Authorization, X-Databricks-Azure-Workspace-Resource-Id, X-Databricks-Org-Id,
343
+ Content-Type
344
+ access-control-allow-origin:
345
+ - '*'
346
+ cache-control:
347
+ - no-cache, no-store, must-revalidate
348
+ content-encoding:
349
+ - gzip
350
+ content-type:
351
+ - application/json
352
+ expires:
353
+ - '0'
354
+ pragma:
355
+ - no-cache
356
+ server:
357
+ - databricks
358
+ strict-transport-security:
359
+ - max-age=31536000; includeSubDomains; preload
360
+ transfer-encoding:
361
+ - chunked
362
+ vary:
363
+ - Accept-Encoding
364
+ x-content-type-options:
365
+ - nosniff
366
+ status:
367
+ code: 200
368
+ message: OK
369
+ - request:
370
+ body: '{"path": "/FileStore/my", "recursive": false}'
371
+ headers:
372
+ Accept:
373
+ - '*/*'
374
+ Accept-Encoding:
375
+ - gzip, deflate
376
+ Connection:
377
+ - keep-alive
378
+ Content-Length:
379
+ - '45'
380
+ Content-Type:
381
+ - application/json
382
+ User-Agent:
383
+ - python-requests/2.31.0
384
+ authorization:
385
+ - DUMMY
386
+ method: POST
387
+ uri: https://my_instance.com/api/2.0/dbfs/delete
388
+ response:
389
+ body:
390
+ string: !!binary |
391
+ H4sIAAAAAAAEAxTJQQrCMBAF0KsMs1YSqKHWvYIbC/EARZqvBJqOTKIQxLsbt+99GKqi0ywBfODz
392
+ OB29Hz1vOCHn2+OPF1m3ivmlOb5BAQsKSO60Nkd6lkohti+ilYxztuuH3jq3t7tusOYUF1zbwaTK
393
+ 3x8AAAD//wMA6gtFJnAAAAA=
394
+ headers:
395
+ access-control-allow-headers:
396
+ - Authorization, X-Databricks-Azure-Workspace-Resource-Id, X-Databricks-Org-Id,
397
+ Content-Type
398
+ access-control-allow-origin:
399
+ - '*'
400
+ cache-control:
401
+ - no-cache, no-store, must-revalidate
402
+ content-encoding:
403
+ - gzip
404
+ content-type:
405
+ - application/json
406
+ expires:
407
+ - '0'
408
+ pragma:
409
+ - no-cache
410
+ server:
411
+ - databricks
412
+ strict-transport-security:
413
+ - max-age=31536000; includeSubDomains; preload
414
+ transfer-encoding:
415
+ - chunked
416
+ vary:
417
+ - Accept-Encoding
418
+ x-content-type-options:
419
+ - nosniff
420
+ status:
421
+ code: 400
422
+ message: Bad Request
423
+ - request:
424
+ body: '{"path": "/FileStore/"}'
425
+ headers:
426
+ Accept:
427
+ - '*/*'
428
+ Accept-Encoding:
429
+ - gzip, deflate
430
+ Connection:
431
+ - keep-alive
432
+ Content-Length:
433
+ - '23'
434
+ Content-Type:
435
+ - application/json
436
+ User-Agent:
437
+ - python-requests/2.31.0
438
+ authorization:
439
+ - DUMMY
440
+ method: GET
441
+ uri: https://my_instance.com/api/2.0/dbfs/list
442
+ response:
443
+ body:
444
+ string: !!binary |
445
+ H4sIAAAAAAAEA5yTQW7DIBBF7zJrV4FgBtsHyAW6rCprWkhDaxcLJqrSKHcvtbehUmE5Ev8//nyu
446
+ cPSTSzA8XWEhPsEAu0OePHKIbmeJaaIPBw34NFofYeB4ds16aUz+28EgGpiD9Uf/SuzD58h+zlNp
447
+ RKsQxXpuzT1xPy8h8kNieqsxQCkUaq3abHHf4J1iqiDXPWolOzRF4fxeN9VIo1EKe4ldWfpSQZyz
448
+ 7oXUWhdllylwFbDotG67nHUp5OVCMYaveuq2vMB0oujseM70ZOvwTaf3+Ac+08tv/f/f761+pi8n
449
+ s2Fn/u2HVVlIgXuxBvR8+wEAAP//AwAClX4HqwMAAA==
450
+ headers:
451
+ access-control-allow-headers:
452
+ - Authorization, X-Databricks-Azure-Workspace-Resource-Id, X-Databricks-Org-Id,
453
+ Content-Type
454
+ access-control-allow-origin:
455
+ - '*'
456
+ cache-control:
457
+ - no-cache, no-store, must-revalidate
458
+ content-encoding:
459
+ - gzip
460
+ content-type:
461
+ - application/json
462
+ expires:
463
+ - '0'
464
+ pragma:
465
+ - no-cache
466
+ server:
467
+ - databricks
468
+ strict-transport-security:
469
+ - max-age=31536000; includeSubDomains; preload
470
+ transfer-encoding:
471
+ - chunked
472
+ vary:
473
+ - Accept-Encoding
474
+ x-content-type-options:
475
+ - nosniff
476
+ status:
477
+ code: 200
478
+ message: OK
479
+ - request:
480
+ body: '{"path": "/FileStore/my", "recursive": true}'
481
+ headers:
482
+ Accept:
483
+ - '*/*'
484
+ Accept-Encoding:
485
+ - gzip, deflate
486
+ Connection:
487
+ - keep-alive
488
+ Content-Length:
489
+ - '44'
490
+ Content-Type:
491
+ - application/json
492
+ User-Agent:
493
+ - python-requests/2.31.0
494
+ authorization:
495
+ - DUMMY
496
+ method: POST
497
+ uri: https://my_instance.com/api/2.0/dbfs/delete
498
+ response:
499
+ body:
500
+ string: '{}'
501
+ headers:
502
+ access-control-allow-headers:
503
+ - Authorization, X-Databricks-Azure-Workspace-Resource-Id, X-Databricks-Org-Id,
504
+ Content-Type
505
+ access-control-allow-origin:
506
+ - '*'
507
+ cache-control:
508
+ - no-cache, no-store, must-revalidate
509
+ content-length:
510
+ - '2'
511
+ content-type:
512
+ - application/json
513
+ expires:
514
+ - '0'
515
+ pragma:
516
+ - no-cache
517
+ server:
518
+ - databricks
519
+ strict-transport-security:
520
+ - max-age=31536000; includeSubDomains; preload
521
+ x-content-type-options:
522
+ - nosniff
523
+ status:
524
+ code: 200
525
+ message: OK
526
+ - request:
527
+ body: '{"path": "/FileStore/"}'
528
+ headers:
529
+ Accept:
530
+ - '*/*'
531
+ Accept-Encoding:
532
+ - gzip, deflate
533
+ Connection:
534
+ - keep-alive
535
+ Content-Length:
536
+ - '23'
537
+ Content-Type:
538
+ - application/json
539
+ User-Agent:
540
+ - python-requests/2.31.0
541
+ authorization:
542
+ - DUMMY
543
+ method: GET
544
+ uri: https://my_instance.com/api/2.0/dbfs/list
545
+ response:
546
+ body:
547
+ string: !!binary |
548
+ H4sIAAAAAAAEA5yTQW7DIBBF7zJrV4FgBtsH6AW6rCJrWkhDaxcLJoraKHcvtbehUmE5Ev9/3nyu
549
+ cPSTSzA8X2EhPsEAu8c8eeIQ3c4S00QfDhrwabQ+wsDx7Jr10pj8t4NBNDAH64/+ldiHz5H9nKfS
550
+ iFYhivXcmnvifl5C5IfE9FZjgFIo1Fq12eK+wTvFVJFc96iV7NAUhfN73VQjjUYp7CV2RellClyl
551
+ LDqt2y5DKdFYvijGcKkAklfZC6nbMul0oujseM7pydbFN53e4x/xmV5+e/r/Im49MX2ZzBY759++
552
+ QpWFFLgXK6DD7QcAAP//AwD4cmNjVAMAAA==
553
+ headers:
554
+ access-control-allow-headers:
555
+ - Authorization, X-Databricks-Azure-Workspace-Resource-Id, X-Databricks-Org-Id,
556
+ Content-Type
557
+ access-control-allow-origin:
558
+ - '*'
559
+ cache-control:
560
+ - no-cache, no-store, must-revalidate
561
+ content-encoding:
562
+ - gzip
563
+ content-type:
564
+ - application/json
565
+ expires:
566
+ - '0'
567
+ pragma:
568
+ - no-cache
569
+ server:
570
+ - databricks
571
+ strict-transport-security:
572
+ - max-age=31536000; includeSubDomains; preload
573
+ transfer-encoding:
574
+ - chunked
575
+ vary:
576
+ - Accept-Encoding
577
+ x-content-type-options:
578
+ - nosniff
579
+ status:
580
+ code: 200
581
+ message: OK
582
+ version: 1