Skip to content

Commit 6300288

Browse files
sjperkinsdcherian
andauthored
Add missing AbstractWritableDataStore base methods and arguments (pydata#10343)
Co-authored-by: Deepak Cherian <dcherian@users.noreply.github.com>
1 parent 50d0009 commit 6300288

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

xarray/backends/common.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,10 @@ def encode_attribute(self, a):
401401
"""encode one attribute"""
402402
return a
403403

404-
def set_dimension(self, dim, length): # pragma: no cover
404+
def prepare_variable(self, name, variable, check_encoding, unlimited_dims):
405+
raise NotImplementedError()
406+
407+
def set_dimension(self, dim, length, is_unlimited): # pragma: no cover
405408
raise NotImplementedError()
406409

407410
def set_attribute(self, k, v): # pragma: no cover

0 commit comments

Comments
 (0)