Debian Codegraph @

ansible_collections/amazon/aws/plugins/doc_fragments/boto3.py

raw
1 # -*- coding: utf-8 -*-
2
3 # Copyright: (c) 2022, Ansible Project
4 # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt)
5
6 from ansible_collections.amazon.aws.plugins.module_utils import botocore as botocore_utils
7
8
9 class ModuleDocFragment:
10 # Modules and Plugins can (currently) use the same fragment
11 def __init__(self):
12 # Minimum requirements for the collection
13 requirements = f"""
14 options: {{}}
15 requirements:
16 - python >= 3.6
17 - boto3 >= {botocore_utils.MINIMUM_BOTO3_VERSION}
18 - botocore >= {botocore_utils.MINIMUM_BOTOCORE_VERSION}
19 """
20
21 self.DOCUMENTATION = requirements
22 self.MODULES = requirements
23 self.PLUGINS = requirements