Skip to content

Commit

Permalink
Use mypy-friendly dict type. (#292)
Browse files Browse the repository at this point in the history
  • Loading branch information
delucchi-cmu authored Jun 12, 2024
1 parent 20eee15 commit f9154e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hipscat/io/paths.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ def get_healpix_from_path(path: str) -> HealpixPixel:
def pixel_catalog_files(
catalog_base_dir: FilePointer,
pixels: List[HealpixPixel],
query_params: dict = None,
query_params: Dict | None = None,
storage_options: Dict | None = None,
) -> List[FilePointer]:
"""Create a list of path *pointers* for pixel catalog files. This will not create the directory
Expand Down Expand Up @@ -135,7 +135,7 @@ def pixel_catalog_files(
]


def dict_to_query_urlparams(query_params: dict) -> str:
def dict_to_query_urlparams(query_params: Dict | None = None) -> str:
"""Converts a dictionary to a url query parameter string
Args:
Expand Down

0 comments on commit f9154e8

Please sign in to comment.