diff --git a/google/cloud/firestore_v1/bulk_writer.py b/google/cloud/firestore_v1/bulk_writer.py index 6a0aa243f..ec0fa4881 100644 --- a/google/cloud/firestore_v1/bulk_writer.py +++ b/google/cloud/firestore_v1/bulk_writer.py @@ -865,6 +865,7 @@ def attempts(self) -> int: class OperationRetry(BaseOperationRetry): """Container for an additional attempt at an operation, scheduled for the future.""" + operation: BulkWriterOperation run_at: datetime.datetime diff --git a/noxfile.py b/noxfile.py index 5e8cfd55d..41f545a68 100644 --- a/noxfile.py +++ b/noxfile.py @@ -147,9 +147,9 @@ def pytype(session): def mypy(session): """Verify type hints are mypy compatible.""" session.install("-e", ".") - session.install("mypy", "types-setuptools", "types-protobuf", "types-requests") + session.install("mypy", "types-setuptools") # TODO: also verify types on tests, all of google package - session.run("mypy", "-p", "google.cloud.firestore_v1", "--no-incremental") + session.run("mypy", "-p", "google.cloud.firestore", "--no-incremental") @nox.session(python=DEFAULT_PYTHON_VERSION)