1212
Add mergePDFs support by aalmazan · Pull Request #34 · anvilco/python-anvil · GitHub
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 21.9b0
rev: 22.3.0
hooks:
- id: black
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 1.4.0 (2022-05-10)

- Updated a number of packages to fix linter and pre-commit issues
- Added support for `CreateEtchPacket.merge_pdfs`.

# 1.3.1 (2022-03-18)

- Updated `click` package dependency to `^8.0`
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
mkdocs==1.2.3; python_version >= "3.6"
pygments==2.10.0; python_version >= "3.5"
pygments==2.12.0; python_version >= "3.6"
7 changes: 5 additions & 2 deletions examples/create_etch_existing_cast.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# pylint: disable=duplicate-code
# NOTE: The pylint disable above doesn't actually work (yet?)
# SEE: https://github.com/PyCQA/pylint/issues/214

from python_anvil.api import Anvil
from python_anvil.api_resources.mutations.create_etch_packet import CreateEtchPacket
Expand Down Expand Up @@ -34,6 +32,11 @@ def main():
# By default, this will point to your organization support email.
# reply_to_email="[email protected]",
# reply_to_name="My Name",
#
# Merge all PDFs into one. Use this if you have many PDF templates
# and/or files, but want the final downloaded package to be only
# 1 PDF file.
# merge_pdfs=True,
)

# You can reference an existing PDF Template from your Anvil account
Expand Down
7 changes: 5 additions & 2 deletions examples/create_etch_upload_file.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
# pylint: disable=duplicate-code
# NOTE: The pylint disable above doesn't actually work (yet?)
# SEE: https://github.com/PyCQA/pylint/issues/214

import base64

Expand Down Expand Up @@ -42,6 +40,11 @@ def main():
# By default, this will point to your organization support email.
# reply_to_email="[email protected]",
# reply_to_name="My Name",
#
# Merge all PDFs into one. Use this if you have many PDF templates
# and/or files, but want the final downloaded package to be only
# 1 PDF file.
# merge_pdfs=True,
)

# Get your file(s) ready to sign.
Expand Down
Loading