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

URLBase() supports calls to url() for generic responses #973

Merged
merged 2 commits into from
Oct 8, 2023

Conversation

caronc
Copy link
Owner

@caronc caronc commented Oct 8, 2023

Description:

Related issue (if applicable): apprise-api/101

In preparation for webhook support with the Apprise API, it only makes sense to re-leverage all of the URL parsing and handling done in the Apprise base library (instead of writing it all again).

This merge request will make it easy to Parse a defined webhook URL a lot like an Apprise based one (grabbing options, user/pass combos, timeouts, and everything else) when defined.

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • No lint errors (use flake8)
  • 100% test coverage

Testing

No functional testing required as it is covered in the added unit tests which test what is expected.

@codecov-commenter
Copy link

codecov-commenter commented Oct 8, 2023

Codecov Report

All modified lines are covered by tests ✅

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Files Coverage Δ
apprise/URLBase.py 100.00% <100.00%> (ø)
apprise/plugins/NotifyAppriseAPI.py 100.00% <100.00%> (ø)

📢 Thoughts on this report? Let us know!.

@caronc caronc merged commit 480d0e0 into master Oct 8, 2023
12 checks passed
@caronc caronc deleted the default-apprise-url-gen branch December 29, 2023 18:43
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.

2 participants