Skip to content

Commit

Permalink
pytype
Browse files Browse the repository at this point in the history
Change-Id: If81b86c176008cd9a99e3b879fbd3af086ec2235
  • Loading branch information
MarkDaoust committed Sep 23, 2024
1 parent a5d9a31 commit b94f33c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions tests/test_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
import collections
import datetime
import os
from typing import Iterable, Union
from typing import Iterable, Sequence
import pathlib

import google
Expand All @@ -37,12 +37,13 @@ def __init__(self, test):

def create_file(
self,
path: Union[str, pathlib.Path, os.PathLike],
path: str | pathlib.Path | os.PathLike,
*,
mime_type: Union[str, None] = None,
name: Union[str, None] = None,
display_name: Union[str, None] = None,
mime_type: str | None = None,
name: str | None = None,
display_name: str | None = None,
resumable: bool = True,
metadata: Sequence[tuple[str, str]] = (),
) -> protos.File:
self.observed_requests.append(
dict(
Expand Down

0 comments on commit b94f33c

Please sign in to comment.