Python Client for VMware Cloud on AWS is an open-source Python-based tool. Written in Python, the tool enables VMware Cloud on AWS users to automate the consumption of their VMware Cloud on AWS SDDC.
Is your feature request related to a problem? Please describe.
currently we are using "import " to import all functions from our own external modules. It is a best practice to import functions explicitly rather than using "" as this potentially exposes an attack vector.
Describe the solution you'd like
leverage explicit import statements... e.g. instead of
"from pyvmc_vcdr import *"
Is your feature request related to a problem? Please describe.
currently we are using "import " to import all functions from our own external modules. It is a best practice to import functions explicitly rather than using "" as this potentially exposes an attack vector.
Describe the solution you'd like
leverage explicit import statements... e.g. instead of "from pyvmc_vcdr import *"
instead use: "from pyvmc_vcdr import get_vcdr_cloud_fs_json, get_vcdr_cloud_fs__details_json, get_vcdr_pg_json ..."
Describe alternatives you've considered
No response
Additional context
https://legacy.python.org/dev/peps/pep-0328/