File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ This is what a ``BackendEntrypoint`` subclass should look like:
37
37
38
38
class MyBackendEntrypoint (BackendEntrypoint ):
39
39
def open_dataset (
40
+ self ,
40
41
filename_or_obj ,
41
42
* ,
42
43
drop_variables = None ,
@@ -47,7 +48,7 @@ This is what a ``BackendEntrypoint`` subclass should look like:
47
48
48
49
open_dataset_parameters = [" filename_or_obj" , " drop_variables" ]
49
50
50
- def guess_can_open (filename_or_obj ):
51
+ def guess_can_open (self , filename_or_obj ):
51
52
try :
52
53
_, ext = os.path.splitext(filename_or_obj)
53
54
except TypeError :
@@ -69,6 +70,7 @@ The following is an example of the high level processing steps:
69
70
.. code-block :: python
70
71
71
72
def open_dataset (
73
+ self ,
72
74
filename_or_obj ,
73
75
* ,
74
76
drop_variables = None ,
You can’t perform that action at this time.
0 commit comments