Skip to content

Commit

Permalink
[WIP] stubs: Fix item.get_embedded_attachment annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
kmurphy4 committed Dec 19, 2024
1 parent c4a027f commit a34ab97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stubs/pypff-stubs/item.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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: ...
2 changes: 1 addition & 1 deletion stubs/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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.2rc0"
requires-python = ">=3.9"

0 comments on commit a34ab97

Please sign in to comment.