Skip to content

Commit

Permalink
add note related to nested-dicts to FIELDS_ALL
Browse files Browse the repository at this point in the history
  • Loading branch information
superstes committed Dec 8, 2024
1 parent 55eda64 commit 9a69e8d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/source/usage/4_develop.rst
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ There are some required attributes:

Fields that are parsed from API-responses and added to outbound API-calls.

If the API-response has fields/values inside a nested-dict - you currently have to handle them manually. In that case do not add the nested-field inside this config-attribute. To handle them manually add the :code:`_search_call` and :code:`_build_request` methods. Per example see: `webproxy_general <https://github.com/ansibleguy/collection_opnsense/blob/latest/plugins/module_utils/main/webproxy_general.py>`_.

* :code:`FIELDS_CHANGE`

The fields that should be checked for changes.
Expand Down

0 comments on commit 9a69e8d

Please sign in to comment.