Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MRG] Add return type to TableList __getitem__ method #477

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

16dprice
Copy link

This PR simply adds a return type to the TableList __getitem__ method so that when you write code like:

tables = camelot.read_pdf(file_path, pages=pages)
table1 = tables[0]

you get automatic type inference on the table1 variable.

@MartinThoma
Copy link
Contributor

Hey!

As camelot is dead, we try to build a maintained fork at pypdf_table_extraction.

Do you want to open the PR against that branch so that we can merge your improvement?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants