Skip to content

Commit

Permalink
Merge pull request #12 from Everlaw/fix/stubs
Browse files Browse the repository at this point in the history
stubs: Fix `item.get_embedded_attachment` annotation
  • Loading branch information
ztravis authored Dec 19, 2024
2 parents c4a027f + a7b478d commit c6ce2c6
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.2"
requires-python = ">=3.9"

0 comments on commit c6ce2c6

Please sign in to comment.