community.general/plugins/filter
patchback[bot] 3e5d58129d
[PR #9954/7e4d6aa5 backport][stable-10] Add new filter plugin: 'to_prettytable' (#10094)
Add new filter plugin: 'to_prettytable' (#9954)

* Add new action plugin 'prettytable'

* Add integration tests for 'prettytable' plugin

* Added BOTMETA details

* Add COPYRIGHT details

* Add 'to_prettytable' filter plugin and tests

* fix: 🐛 Fix add_rows method

* Add changelog fragment

* Remove changelog fragments

* Apply code review suggestions

* Correct BOTMETA and lint

* refactor: 🔥 Remove unnecessary code parts

* fix: Fix contact details

* Correct kwargs.pop and column_alignments description

* Remove 'trim' filter from conditionals in tests

* Add additional validations and tests

* fix: Apply corrections after review

* refactor: Optimize code and make some refactoring

* fix: Add some minor corrections

* fix: add column_alignments validation and tests

* Update version_added to "10.7.0"

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>

* refactor: Use TypeValidationError class for type checking

* refactor: Apply suggestions

* fix: documentation indent

* Apply suggestion

Co-authored-by: Felix Fontein <felix@fontein.de>

* style: Adjust indentation

Co-authored-by: Felix Fontein <felix@fontein.de>

* style: Correction of examples

* fix: Commit suggestion

Co-authored-by: Felix Fontein <felix@fontein.de>

* fix: Commit suggestion

Co-authored-by: Felix Fontein <felix@fontein.de>

* feat: Add correct parameters validation for empty data

---------

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 7e4d6aa541)

Co-authored-by: Timur Gadiev <Timur_Gadiev@epam.com>
2025-05-02 10:34:06 +02:00
..
accumulate.py [PR #9535/3af793c2 backport][stable-10] plugins (become, callback, filter): style adjustments (#9545) 2025-01-07 18:45:39 +01:00
counter.py [PR #9585/b85d36a0 backport][stable-10] filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9588) 2025-01-20 20:00:22 +01:00
crc32.py [PR #9585/b85d36a0 backport][stable-10] filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9588) 2025-01-20 20:00:22 +01:00
dict.py [PR #9585/b85d36a0 backport][stable-10] filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9588) 2025-01-20 20:00:22 +01:00
dict_kv.py [PR #9585/b85d36a0 backport][stable-10] filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9588) 2025-01-20 20:00:22 +01:00
from_csv.py [PR #9585/b85d36a0 backport][stable-10] filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9588) 2025-01-20 20:00:22 +01:00
from_ini.py [PR #9585/b85d36a0 backport][stable-10] filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9588) 2025-01-20 20:00:22 +01:00
groupby_as_dict.py [PR #9585/b85d36a0 backport][stable-10] filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9588) 2025-01-20 20:00:22 +01:00
hashids.py [PR #9992/8525e420 backport][stable-10] Avoid deprecated AnsibleFilterTypeError (#9994) 2025-04-14 21:23:21 +02:00
hashids_decode.yml Add default license header to files which have no copyright or license header yet (#5074) 2022-08-05 14:03:38 +02:00
hashids_encode.yml Add default license header to files which have no copyright or license header yet (#5074) 2022-08-05 14:03:38 +02:00
jc.py [PR #9585/b85d36a0 backport][stable-10] filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9588) 2025-01-20 20:00:22 +01:00
json_diff.yml [PR #9565/f5c1b9c7 backport][stable-10] add json_patch, json_patch_recipe and json_diff filters (#9597) 2025-01-21 21:04:41 +01:00
json_patch.py [PR #9565/f5c1b9c7 backport][stable-10] add json_patch, json_patch_recipe and json_diff filters (#9597) 2025-01-21 21:04:41 +01:00
json_patch.yml [PR #10025/a3b8eed0 backport][stable-10] fixed hidden warnings from extra tests - batch 1 (#10062) 2025-04-23 22:25:51 +02:00
json_patch_recipe.yml [PR #9565/f5c1b9c7 backport][stable-10] add json_patch, json_patch_recipe and json_diff filters (#9597) 2025-01-21 21:04:41 +01:00
json_query.py [PR #9585/b85d36a0 backport][stable-10] filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9588) 2025-01-20 20:00:22 +01:00
keep_keys.py [PR #9585/b85d36a0 backport][stable-10] filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9588) 2025-01-20 20:00:22 +01:00
lists.py [PR #9585/b85d36a0 backport][stable-10] filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9588) 2025-01-20 20:00:22 +01:00
lists_difference.yml [PR #10025/a3b8eed0 backport][stable-10] fixed hidden warnings from extra tests - batch 1 (#10062) 2025-04-23 22:25:51 +02:00
lists_intersect.yml [PR #10025/a3b8eed0 backport][stable-10] fixed hidden warnings from extra tests - batch 1 (#10062) 2025-04-23 22:25:51 +02:00
lists_mergeby.py [PR #9585/b85d36a0 backport][stable-10] filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9588) 2025-01-20 20:00:22 +01:00
lists_symmetric_difference.yml [PR #10025/a3b8eed0 backport][stable-10] fixed hidden warnings from extra tests - batch 1 (#10062) 2025-04-23 22:25:51 +02:00
lists_union.yml [PR #10025/a3b8eed0 backport][stable-10] fixed hidden warnings from extra tests - batch 1 (#10062) 2025-04-23 22:25:51 +02:00
random_mac.py [PR #9585/b85d36a0 backport][stable-10] filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9588) 2025-01-20 20:00:22 +01:00
remove_keys.py [PR #9585/b85d36a0 backport][stable-10] filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9588) 2025-01-20 20:00:22 +01:00
replace_keys.py [PR #9585/b85d36a0 backport][stable-10] filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9588) 2025-01-20 20:00:22 +01:00
reveal_ansible_type.py [PR #9833/04cfce78 backport][stable-10] Make ready for data tagging (#9990) 2025-04-14 21:23:00 +02:00
time.py [PR #9585/b85d36a0 backport][stable-10] filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9588) 2025-01-20 20:00:22 +01:00
to_days.yml [PR #9812/cf147b9f backport][stable-10] misc typo fix (#9816) 2025-03-01 11:31:08 +01:00
to_hours.yml [PR #9812/cf147b9f backport][stable-10] misc typo fix (#9816) 2025-03-01 11:31:08 +01:00
to_ini.py [PR #9585/b85d36a0 backport][stable-10] filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9588) 2025-01-20 20:00:22 +01:00
to_milliseconds.yml [PR #9812/cf147b9f backport][stable-10] misc typo fix (#9816) 2025-03-01 11:31:08 +01:00
to_minutes.yml [PR #9812/cf147b9f backport][stable-10] misc typo fix (#9816) 2025-03-01 11:31:08 +01:00
to_months.yml [PR #9812/cf147b9f backport][stable-10] misc typo fix (#9816) 2025-03-01 11:31:08 +01:00
to_prettytable.py [PR #9954/7e4d6aa5 backport][stable-10] Add new filter plugin: 'to_prettytable' (#10094) 2025-05-02 10:34:06 +02:00
to_seconds.yml [PR #9812/cf147b9f backport][stable-10] misc typo fix (#9816) 2025-03-01 11:31:08 +01:00
to_time_unit.yml [PR #9812/cf147b9f backport][stable-10] misc typo fix (#9816) 2025-03-01 11:31:08 +01:00
to_weeks.yml [PR #9812/cf147b9f backport][stable-10] misc typo fix (#9816) 2025-03-01 11:31:08 +01:00
to_years.yml [PR #9812/cf147b9f backport][stable-10] misc typo fix (#9816) 2025-03-01 11:31:08 +01:00
unicode_normalize.py [PR #9992/8525e420 backport][stable-10] Avoid deprecated AnsibleFilterTypeError (#9994) 2025-04-14 21:23:21 +02:00
version_sort.py [PR #9585/b85d36a0 backport][stable-10] filter plugins: adjust import __future__ for Python3, remove __metaclass__ (#9588) 2025-01-20 20:00:22 +01:00