Skip to content

Commit

Permalink
fix: return type
Browse files Browse the repository at this point in the history
  • Loading branch information
bhimrazy committed Jul 6, 2024
1 parent e3773b0 commit c8c88b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/litdata/utilities/dataset_utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def generate_roi(chunks: List[Dict[str, Any]], item_loader: Optional[BaseItemLoa
return roi


def load_index_file(input_dir: str) -> Dict[str, Any] or None:
def load_index_file(input_dir: str) -> Dict[str, Any]:
"""Load index file from the input_dir."""

index_filepath = os.path.join(input_dir, _INDEX_FILENAME)
Expand Down

0 comments on commit c8c88b9

Please sign in to comment.