From 96e6beef3c63b663b7e5879b1458f4dd1a47a5b5 Mon Sep 17 00:00:00 2001 From: Jon Dufresne Date: Mon, 20 Sep 2021 08:25:42 -0700 Subject: [PATCH] feat: Add py.typed for PEP 561 compliance (#976) Type annotations were added in commit f8d4aaa335a0eef915e73596fc9b43b11d11be9f. For these annotations to be useful by library users, the package should install a py.typed file. This tells mypy and other tools to consume and use these types. For more details, see: https://mypy.readthedocs.io/en/stable/installed_packages.html#creating-pep-561-compatible-packages --- google/cloud/bigquery/py.typed | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 google/cloud/bigquery/py.typed diff --git a/google/cloud/bigquery/py.typed b/google/cloud/bigquery/py.typed new file mode 100644 index 000000000..e73777993 --- /dev/null +++ b/google/cloud/bigquery/py.typed @@ -0,0 +1,2 @@ +# Marker file for PEP 561. +# The google-cloud-bigquery package uses inline types.