From 44814871acf9918d2432672fb8dafcfa9782e2f5 Mon Sep 17 00:00:00 2001 From: RA80533 <32469082+RA80533@users.noreply.github.com> Date: Thu, 27 Apr 2023 12:13:10 -0400 Subject: [PATCH 1/3] Create `py.typed` marker file --- aioodbc/py.typed | 1 + 1 file changed, 1 insertion(+) create mode 100644 aioodbc/py.typed diff --git a/aioodbc/py.typed b/aioodbc/py.typed new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/aioodbc/py.typed @@ -0,0 +1 @@ + From 4f7b9f1d89d918c17c40caf5bb739b190fab1351 Mon Sep 17 00:00:00 2001 From: RA80533 <32469082+RA80533@users.noreply.github.com> Date: Thu, 27 Apr 2023 12:21:28 -0400 Subject: [PATCH 2/3] Update CHANGES.txt based on the PR checklist --- CHANGES.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGES.txt b/CHANGES.txt index d5050f9..02ac5e5 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -1,5 +1,10 @@ Changes ------- +422.doc (2023-04-27) +^^^^^^^^^^^^^^^^^^^^ +* Added PEP 561 support. + + 0.4.0 (2023-03-16) ^^^^^^^^^^^^^^^^^^ * Fixed compatibility with python 3.9+. From 8dc6303fb175db3c511c3d0eac7d8d8d6c3b9f56 Mon Sep 17 00:00:00 2001 From: RA80533 <32469082+RA80533@users.noreply.github.com> Date: Thu, 27 Apr 2023 12:38:26 -0400 Subject: [PATCH 3/3] Add blurb about PEP 561 --- README.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.rst b/README.rst index 39a9e8d..94f27f2 100644 --- a/README.rst +++ b/README.rst @@ -22,6 +22,9 @@ same approach. **aioodbc** is fully compatible and tested with uvloop_. Take a look at the test suite, all tests are executed with both the default event loop and uvloop_. +**aioodbc** also supports `PEP 561`_. Developers should be able to utilize *aioodbc*'s +type annotations in their own projects with confidence. + Basic Example ------------- @@ -171,4 +174,5 @@ Requirements .. _unixODBC: http://www.unixodbc.org/ .. _threads: http://techspot.zzzeek.org/2015/02/15/asynchronous-python-and-databases/ .. _docker: https://docs.docker.com/engine/installation/ +.. _PEP 561: https://peps.python.org/pep-0561/ .. _motor: https://emptysqua.re/blog/motor-0-7-beta/