From c5acb52eba80935a3555b47ec461b2f38ef63153 Mon Sep 17 00:00:00 2001 From: Mark Sullivan Date: Sun, 28 Apr 2024 14:34:35 +1000 Subject: [PATCH 1/2] Bump version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index d050ed3..ae9937d 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name="fmcapi", - version="20240418.0", + version="20240428.0", description="Easier interface to Cisco's FMC API than writing your own way.", long_description="""With the removal to configure a Cisco NGFW via the command line your only option is to do so via a manager. Some things are better when automated so using the manager's API gives us that power. From 342ef90b20d758fc057565be85fa986faedff04e Mon Sep 17 00:00:00 2001 From: Mark Sullivan Date: Sun, 28 Apr 2024 14:35:48 +1000 Subject: [PATCH 2/2] Black --- fmcapi/api_objects/update_packages/upgradepackage.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/fmcapi/api_objects/update_packages/upgradepackage.py b/fmcapi/api_objects/update_packages/upgradepackage.py index c69786a..790e2af 100644 --- a/fmcapi/api_objects/update_packages/upgradepackage.py +++ b/fmcapi/api_objects/update_packages/upgradepackage.py @@ -25,10 +25,7 @@ class Upgrades(APIClassTemplate): "enableUpgradeRevert", "autoUpgradeCancel", ] - REQUIRED_FOR_POST = [ - "upgradePackage", - "targets" - ] + REQUIRED_FOR_POST = ["upgradePackage", "targets"] VALID_FOR_KWARGS = VALID_JSON_DATA + [] URL_SUFFIX = "/updates/upgrades"