Skip to content

Commit 28b1b2c

Browse files
committed
update import
1 parent de360ef commit 28b1b2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

xarray/backends/pydap_.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def _getitem(self, key):
5757
if self._batch and hasattr(self.array, "dataset"):
5858
# this are both True only for pydap>3.5.5
5959
# from pydap.lib import resolve_batch_for_all_variables
60-
from pydap.lib import data_check, get_batch_data
60+
from pydap.client import data_check, get_batch_data
6161

6262
dataset = self.array.dataset
6363
get_batch_data(self.array, checksums=self._checksums, key=key)
@@ -239,7 +239,7 @@ def ds(self):
239239

240240
def _get_data_array(self, var):
241241
"""gets dimension data all at once"""
242-
from pydap.lib import get_batch_data
242+
from pydap.client import get_batch_data
243243

244244
if not var._is_data_loaded():
245245
# data has not been deserialized yet

0 commit comments

Comments
 (0)