From a7b478d117665e995f47ce31e41935d58335e550 Mon Sep 17 00:00:00 2001 From: Kevin Murphy Date: Wed, 18 Dec 2024 17:20:02 -0800 Subject: [PATCH] stubs: Fix `item.get_embedded_attachment` annotation https://github.com/Everlaw/servers/pull/37520/commits/8d4e7002c93e2301a0c6089618546fb9b72976c2#r1891093140 --- stubs/pypff-stubs/item.pyi | 2 +- stubs/pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stubs/pypff-stubs/item.pyi b/stubs/pypff-stubs/item.pyi index 48e5927..c753264 100644 --- a/stubs/pypff-stubs/item.pyi +++ b/stubs/pypff-stubs/item.pyi @@ -90,6 +90,6 @@ class item: Retrieves a specific attachment """ - def get_embedded_attachment(self, attachment_index: int) -> attachment: ... + def get_embedded_attachment(self) -> attachment: ... def get_size(self) -> int: ... def read_buffer(self, n: int) -> bytes: ... diff --git a/stubs/pyproject.toml b/stubs/pyproject.toml index ed81276..67f1f0f 100644 --- a/stubs/pyproject.toml +++ b/stubs/pyproject.toml @@ -6,5 +6,5 @@ build-backend = "setuptools.build_meta" name = "pypff-stubs" # The major version should match the version in `configure.ac`'s `AC_INIT` # with the minor version incremented as needed for new changes. -version = "20240608.1" +version = "20240608.2" requires-python = ">=3.9"