Skip to content

Config YAML support for 'tags' (in addition to 'tag')#1471

Merged
caronc merged 2 commits intomasterfrom
config-yaml-tag-and-tags
Dec 21, 2025
Merged

Config YAML support for 'tags' (in addition to 'tag')#1471
caronc merged 2 commits intomasterfrom
config-yaml-tag-and-tags

Conversation

@caronc
Copy link
Owner

@caronc caronc commented Dec 21, 2025

Description:

Related issue (if applicable): n/a

This change is for nothing more then a bit of consistency... tag and tags usage in Apprise was a bit mixed up. tags is used in one area, and tag in the other. Now each is an alias of one another to avoid causing future confusion. This wa already done to the Apprise-API as well a while back.

Checklist

  • The code change is tested and works locally.
  • There is no commented out code in this PR.
  • No lint errors (use tox -e lint and even tox -e format to autofix what it can)
  • Test coverage added (use tox -e minimal)

Testing

Quite simply the following is now valid:

urls:
   - json://localhost:
      tags: abcd, def

Prior to this, it had to be done this way (which of course still works too):

urls:
  - json://localhost:
     tag: abcd, def

@codecov
Copy link

codecov bot commented Dec 21, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.66%. Comparing base (21952f1) to head (8c5c8c5).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1471   +/-   ##
=======================================
  Coverage   99.66%   99.66%           
=======================================
  Files         179      179           
  Lines       23594    23601    +7     
  Branches     3818     3820    +2     
=======================================
+ Hits        23516    23523    +7     
  Misses         70       70           
  Partials        8        8           
Files with missing lines Coverage Δ
apprise/config/base.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@caronc caronc merged commit acf77b0 into master Dec 21, 2025
22 of 23 checks passed
@caronc caronc deleted the config-yaml-tag-and-tags branch January 11, 2026 16:08
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.

1 participant