Skip to content

Commit

Permalink
git types
Browse files Browse the repository at this point in the history
  • Loading branch information
martindurant committed Nov 9, 2023
1 parent 5cce618 commit a2258f3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions fsspec/core.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
from __future__ import annotations

import io
import logging
import os
import re
from glob import has_magic
from pathlib import Path
from typing import Any, Literal, Optional

# for backwards compat, we export cache things from here too
from .caching import ( # noqa: F401
Expand Down Expand Up @@ -473,8 +474,8 @@ def open(

def open_local(
url: str | list[str] | Path | list[Path],
mode: Optional[Literal["rb"]] = "rb",
**storage_options: Optional[Any],
mode: str,
**storage_options: dict,
) -> str | list[str]:
"""Open file(s) which can be resolved to local
Expand Down

0 comments on commit a2258f3

Please sign in to comment.