Skip to content

Commit

Permalink
refactor: renaming
Browse files Browse the repository at this point in the history
  • Loading branch information
thorwhalen committed Apr 3, 2024
1 parent b454dc6 commit a33784c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pdfdol/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
bytes_to_pdf_reader_obj = Pipe(BytesIO, PdfReader)


def _read_pdf_text(pdf_reader):
def read_pdf_text(pdf_reader):
text_pages = []
for page in pdf_reader.pages:
text_pages.append(page.extract_text())
Expand All @@ -19,7 +19,7 @@ def _read_pdf_text(pdf_reader):
filter_for_pdf_extension = KeyCodecs.suffixed('.pdf')

bytes_to_pdf_text_pages = Pipe(
bytes_to_pdf_obj_wrap, wrap_kvs(obj_of_data=_read_pdf_text)
bytes_to_pdf_obj_wrap, wrap_kvs(obj_of_data=read_pdf_text)
)

pdf_files_reader_wrap = Pipe(
Expand Down

0 comments on commit a33784c

Please sign in to comment.