Skip to content

Commit

Permalink
add type hint
Browse files Browse the repository at this point in the history
  • Loading branch information
TomNicholas committed Dec 18, 2024
1 parent 8afdb7e commit 00bcdaf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions virtualizarr/readers/fits.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from pathlib import Path
from typing import Iterable, Mapping, Optional

from xarray import Dataset, Index
from xarray import Dataset, Index, Variable

from virtualizarr.readers.common import (
VirtualBackend,
Expand Down Expand Up @@ -46,8 +46,8 @@ def open_virtual_dataset(
raise NotImplementedError(
"Cannot load variables or indexes from FITS files as there is no xarray backend engine for FITS"
)
loadable_vars = {}
indexes = {}
loadable_vars: dict[str, Variable] = {}
indexes: dict[str, Index] = {}

virtual_vars, attrs, coord_names = virtual_vars_and_metadata_from_kerchunk_refs(
refs,
Expand Down

0 comments on commit 00bcdaf

Please sign in to comment.