Skip to content

Commit

Permalink
api: allow plan imports through fix module
Browse files Browse the repository at this point in the history
Due to the backwards compatibility, we will still allow
some plan API related objects to be imported through
the fix module
  • Loading branch information
lucasmoura authored and renanrodrigo committed Nov 24, 2023
1 parent 7db8a14 commit d2f1cb5
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions uaclient/api/u/pro/security/fix/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
from uaclient.api.u.pro.security.fix._common.plan.v1 import (
AptUpgradeData,
AttachData,
EnableData,
FixPlanError,
FixPlanResult,
FixPlanStep,
FixPlanWarning,
NoOpData,
PackageCannotBeInstalledData,
SecurityIssueNotFixedData,
)

__all__ = [
"AptUpgradeData",
"AttachData",
"EnableData",
"FixPlanError",
"FixPlanResult",
"FixPlanStep",
"FixPlanWarning",
"NoOpData",
"PackageCannotBeInstalledData",
"SecurityIssueNotFixedData",
]

0 comments on commit d2f1cb5

Please sign in to comment.