Skip to content

Commit

Permalink
Update docs/docsite/rst/dev_guidelines.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Mark Chappell <[email protected]>
  • Loading branch information
jatorcasso and tremble authored Jul 6, 2022
1 parent 6bb8590 commit 4e2014d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docsite/rst/dev_guidelines.rst
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ some response metadata. It is OK to return this to the user as well as they may

Boto3 returns most keys in CamelCase. Ansible adopts python standards for naming variables and usage.
There is a useful helper function called ``camel_dict_to_snake_dict`` that allows for an easy conversion
of the boto3 response to snake_case. It resides in ``module_utils/common/dict_transformations``.
of the boto3 response to snake_case. It resides in ``ansible.module_utils.``.

You should use this helper function and avoid changing the names of values returned by Boto3.
E.g. if boto3 returns a value called 'SecretAccessKey' do not change it to 'AccessKey'.
Expand Down

0 comments on commit 4e2014d

Please sign in to comment.