Skip to content

Commit

Permalink
type
Browse files Browse the repository at this point in the history
  • Loading branch information
kramstrom committed Jul 3, 2024
1 parent 7021091 commit cdabb79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modal/_utils/blob_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ async def blob_iter(blob_id, stub) -> AsyncIterator[bytes]:

@dataclasses.dataclass
class FileUploadSpec:
source: Callable[[], BinaryIO]
source: Callable[[], Union[_GeneratorContextManager, BinaryIO]]
source_description: Any
mount_filename: str

Expand All @@ -339,7 +339,7 @@ class FileUploadSpec:


def _get_file_upload_spec(
source: Callable[[], _GeneratorContextManager[Any]],
source: Callable[[], Union[_GeneratorContextManager, BinaryIO]],
source_description: Any,
mount_filename: PurePosixPath,
mode: int,
Expand Down

0 comments on commit cdabb79

Please sign in to comment.