From 837b701d22a762315c51050f7b81957f55c722fb Mon Sep 17 00:00:00 2001 From: Byron Nagi Date: Tue, 2 Jul 2024 10:25:20 -0400 Subject: [PATCH] fix mypy error on comment '# type:` fixes #143 --- aiogoogle/resource.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aiogoogle/resource.py b/aiogoogle/resource.py index d79ac5f..2ab7211 100644 --- a/aiogoogle/resource.py +++ b/aiogoogle/resource.py @@ -35,7 +35,7 @@ MEDIA_SIZE_BIT_SHIFTS = {"KB": 10, "MB": 20, "GB": 30, "TB": 40} # TODO: etagRequired: { -# type: "boolean", # noqa: F821 (weird error) +# should be type: "boolean", # noqa: F821 (weird error) # description: "Whether this method requires an ETag to be specified. The ETag is sent as an HTTP If-Match or If-None-Match header." # } # NOTE: etagRequired is only mentioned once in all of the discovery documents available from Google. (In discovery_service-v1. So, it isn't actually being used)