Skip to content

Commit c1f5b76

Browse files
authored
feat: Make ObjectStoreMethods public, update docs (#701)
* feat: Make ObjectStoreMixin public, update docs * remove duplicate base doc page * rename ObjectStoreMixin to ObjectStoreMethods * docstring * docstring * add ObjectStoreMethods to index * fix docs links * update docs * docs
1 parent bf190eb commit c1f5b76

19 files changed

Lines changed: 207 additions & 38 deletions

File tree

docs/api/copy.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
# Copy
22

3+
Copy operations.
4+
5+
Obstore provides [two API designs](../method-vs-functional-api.md) for your convenience.
6+
7+
## Method API
8+
9+
::: obstore.store.ObjectStoreMethods.copy
10+
::: obstore.store.ObjectStoreMethods.copy_async
11+
12+
## Functional API
13+
314
::: obstore.copy
415
::: obstore.copy_async

docs/api/delete.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
# Delete
22

3+
Delete operations.
4+
5+
Obstore provides [two API designs](../method-vs-functional-api.md) for your convenience.
6+
7+
## Method API
8+
9+
::: obstore.store.ObjectStoreMethods.delete
10+
::: obstore.store.ObjectStoreMethods.delete_async
11+
12+
## Functional API
13+
314
::: obstore.delete
415
::: obstore.delete_async

docs/api/file.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ Native support for reading from object stores as a file-like object.
44

55
Use `obstore.open_reader` or `obstore.open_reader_async` to open readable files. Use `obstore.open_writer` or `obstore.open_writer_async` to open writable files.
66

7+
See [ReadableFile][obstore.ReadableFile] and [AsyncReadableFile][obstore.AsyncReadableFile] for more information on caching behavior.
8+
79
::: obstore.open_reader
810
::: obstore.open_reader_async
911
::: obstore.open_writer

docs/api/get.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,29 @@
11
# Get
22

3+
Get operations.
4+
5+
Obstore provides [two API designs](../method-vs-functional-api.md) for your convenience.
6+
7+
## Method API
8+
9+
::: obstore.store.ObjectStoreMethods.get
10+
::: obstore.store.ObjectStoreMethods.get_async
11+
::: obstore.store.ObjectStoreMethods.get_range
12+
::: obstore.store.ObjectStoreMethods.get_range_async
13+
::: obstore.store.ObjectStoreMethods.get_ranges
14+
::: obstore.store.ObjectStoreMethods.get_ranges_async
15+
16+
## Functional API
17+
318
::: obstore.get
419
::: obstore.get_async
520
::: obstore.get_range
621
::: obstore.get_range_async
722
::: obstore.get_ranges
823
::: obstore.get_ranges_async
24+
25+
## Types
26+
927
::: obstore.GetOptions
1028
::: obstore.GetResult
1129
::: obstore.BytesStream

docs/api/head.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
# Head
22

3+
Head operations.
4+
5+
Obstore provides [two API designs](../method-vs-functional-api.md) for your convenience.
6+
7+
## Method API
8+
9+
::: obstore.store.ObjectStoreMethods.head
10+
::: obstore.store.ObjectStoreMethods.head_async
11+
12+
## Functional API
13+
314
::: obstore.head
415
::: obstore.head_async

docs/api/list.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,23 @@
11
# List
22

3+
List operations.
4+
5+
Obstore provides [two API designs](../method-vs-functional-api.md) for your convenience.
6+
7+
## Method API
8+
9+
::: obstore.store.ObjectStoreMethods.list
10+
::: obstore.store.ObjectStoreMethods.list_with_delimiter
11+
::: obstore.store.ObjectStoreMethods.list_with_delimiter_async
12+
13+
## Functional API
14+
315
::: obstore.list
416
::: obstore.list_with_delimiter
517
::: obstore.list_with_delimiter_async
18+
19+
## Types
20+
621
::: obstore.ObjectMeta
722
::: obstore.ListResult
823
::: obstore.ListStream

docs/api/put.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,21 @@
11
# Put
22

3+
Put operations.
4+
5+
Obstore provides [two API designs](../method-vs-functional-api.md) for your convenience.
6+
7+
## Method API
8+
9+
::: obstore.store.ObjectStoreMethods.put
10+
::: obstore.store.ObjectStoreMethods.put_async
11+
12+
## Functional API
13+
314
::: obstore.put
415
::: obstore.put_async
16+
17+
## Types
18+
519
::: obstore.PutResult
620
::: obstore.UpdateVersion
721
::: obstore.PutMode

docs/api/rename.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,15 @@
11
# Rename
22

3+
Rename operations.
4+
5+
Obstore provides [two API designs](../method-vs-functional-api.md) for your convenience.
6+
7+
## Method API
8+
9+
::: obstore.store.ObjectStoreMethods.rename
10+
::: obstore.store.ObjectStoreMethods.rename_async
11+
12+
## Functional API
13+
314
::: obstore.rename
415
::: obstore.rename_async

docs/api/store/aws.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
::: obstore.store.S3Store
44
options:
55
inherited_members: true
6-
show_bases: false
76
::: obstore.store.S3Config
87
options:
98
show_if_no_docstring: true

docs/api/store/azure.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
::: obstore.store.AzureStore
44
options:
55
inherited_members: true
6-
show_bases: false
76
::: obstore.store.AzureConfig
87
options:
98
show_if_no_docstring: true

0 commit comments

Comments
 (0)