File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -547,12 +547,12 @@ def load(self, **kwargs) -> Self:
547
547
self .variables [k ].data = data
548
548
549
549
# load everything else sequentially
550
- [v .load_async () for k , v in self .variables .items () if k not in chunked_data ]
550
+ [v .load () for k , v in self .variables .items () if k not in chunked_data ]
551
551
552
552
return self
553
553
554
554
async def load_async (self , ** kwargs ) -> Self :
555
- # TODO refactor this to pul out the common chunked_data codepath
555
+ # TODO refactor this to pull out the common chunked_data codepath
556
556
557
557
# this blocks on chunked arrays but not on lazily indexed arrays
558
558
@@ -572,10 +572,10 @@ async def load_async(self, **kwargs) -> Self:
572
572
self .variables [k ].data = data
573
573
574
574
# load everything else concurrently
575
- tasks = [
575
+ coros = [
576
576
v .load_async () for k , v in self .variables .items () if k not in chunked_data
577
577
]
578
- await asyncio .gather (* tasks )
578
+ await asyncio .gather (* coros )
579
579
580
580
return self
581
581
You can’t perform that action at this time.
0 commit comments