Skip to content

Commit

Permalink
black & isort fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
george-ghawali committed Dec 30, 2024
1 parent 757dfb2 commit 4169794
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 15 deletions.
13 changes: 5 additions & 8 deletions plugins/modules/ntnx_protected_resources_info_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,12 @@

from ..module_utils.base_module import BaseModule # noqa: E402
from ..module_utils.utils import remove_param_with_none_value # noqa: E402
from ..module_utils.v4.data_protection.api_client import (
from ..module_utils.v4.data_protection.api_client import ( # noqa: E402
get_protected_resource_api_instance,
) # noqa: E402

from ..module_utils.base_module import BaseModule # noqa: E402
from ..module_utils.utils import remove_param_with_none_value # noqa: E402
from ..module_utils.v4.data_protection.helpers import (
)
from ..module_utils.v4.data_protection.helpers import ( # noqa: E402
get_protected_resource,
) # noqa: E402
)
from ..module_utils.v4.utils import strip_internal_attributes # noqa: E402


Expand Down Expand Up @@ -89,4 +86,4 @@ def main():


if __name__ == "__main__":
main()
main()
10 changes: 3 additions & 7 deletions plugins/modules/ntnx_protected_resources_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,20 +57,16 @@

from ..module_utils.base_module import BaseModule # noqa: E402
from ..module_utils.utils import remove_param_with_none_value # noqa: E402
from ..module_utils.v4.data_protection.api_client import (
from ..module_utils.v4.data_protection.api_client import ( # noqa: E402
get_protected_resource_api_instance,
) # noqa: E402

from ..module_utils.base_module import BaseModule # noqa: E402
from ..module_utils.utils import remove_param_with_none_value # noqa: E402
)
from ..module_utils.v4.prism.tasks import wait_for_completion # noqa: E402
from ..module_utils.v4.spec_generator import SpecGenerator # noqa: E402
from ..module_utils.v4.utils import ( # noqa: E402
raise_api_exception,
strip_internal_attributes,
)


SDK_IMP_ERROR = None
try:
import ntnx_dataprotection_py_client as data_protection_sdk # noqa: E402
Expand Down Expand Up @@ -183,4 +179,4 @@ def main():


if __name__ == "__main__":
main()
main()

0 comments on commit 4169794

Please sign in to comment.