File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,20 @@ def default_stac_object_from_dict_method(d):
22
22
else :
23
23
return Catalog .from_dict (d )
24
24
25
+ """Users of PySTAC can replace the read_text_method in order
26
+ to expand the ability of PySTAC to read different file systems.
27
+ For example, a client of the library might replace this class
28
+ member in it's own __init__.py with a method that can read from
29
+ cloud storage.
30
+ """
25
31
read_text_method = default_read_text_method
32
+
33
+ """Users of PySTAC can replace the writte_text_method in order
34
+ to expand the ability of PySTAC to write to different file systems.
35
+ For example, a client of the library might replace this class
36
+ member in it's own __init__.py with a method that can read from
37
+ cloud storage.
38
+ """
26
39
write_text_method = default_write_text_method
27
40
28
41
# Replaced in __init__ to account for extension objects.
You can’t perform that action at this time.
0 commit comments