Skip to content

Commit

Permalink
Attempting to fix mypy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
bourque committed Aug 29, 2024
1 parent 32c22d9 commit 16327d5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions imap_processing/idex/l0/idex_l0.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
"""Decommutate IDEX CCSDS packets."""

import logging
from pathlib import Path
from typing import Union

from imap_processing import decom, imap_module_directory

logger = logging.getLogger(__name__)


def decom_packets(packet_file: str) -> list:
def decom_packets(packet_file: Union[str, Path]) -> list:
"""
Decom IDEX data packets using IDEX packet definition.
Parameters
----------
packet_file : str
packet_file : pathlib.Path | str
String to data packet path with filename.
Returns
Expand Down

0 comments on commit 16327d5

Please sign in to comment.