Skip to content

Commit

Permalink
Remove: Don't export enums from gvm.protocols latest and next modules
Browse files Browse the repository at this point in the history
The types should be used from the protocol module or from the gmp class.
  • Loading branch information
bjoernricks authored and greenbonebot committed Jun 14, 2024
1 parent 938e6e1 commit 6fdbf2b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 96 deletions.
48 changes: 0 additions & 48 deletions gvm/protocols/latest.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,57 +24,9 @@
from .gmp import (
GMPv225 as Gmp,
)
from .gmp.requests import (
AggregateStatistic,
AlertCondition,
AlertEvent,
AlertMethod,
AliveTest,
CredentialFormat,
CredentialType,
EntityType,
FeedType,
FilterType,
HelpFormat,
HostsOrdering,
InfoType,
PermissionSubjectType,
PortRangeType,
ReportFormatType,
ResourceType,
ScannerType,
SnmpAuthAlgorithm,
SnmpPrivacyAlgorithm,
SortOrder,
TicketStatus,
UserAuthType,
)
from .ospv1 import Osp

__all__ = [
"Gmp",
"Osp",
"AggregateStatistic",
"AlertCondition",
"AlertEvent",
"AlertMethod",
"AliveTest",
"CredentialType",
"CredentialFormat",
"EntityType",
"FeedType",
"FilterType",
"HelpFormat",
"HostsOrdering",
"InfoType",
"PermissionSubjectType",
"PortRangeType",
"ReportFormatType",
"ResourceType",
"ScannerType",
"SnmpAuthAlgorithm",
"SnmpPrivacyAlgorithm",
"SortOrder",
"TicketStatus",
"UserAuthType",
]
48 changes: 0 additions & 48 deletions gvm/protocols/next.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,57 +24,9 @@
from .gmp import (
GMPv225 as Gmp,
)
from .gmp.requests import (
AggregateStatistic,
AlertCondition,
AlertEvent,
AlertMethod,
AliveTest,
CredentialFormat,
CredentialType,
EntityType,
FeedType,
FilterType,
HelpFormat,
HostsOrdering,
InfoType,
PermissionSubjectType,
PortRangeType,
ReportFormatType,
ResourceType,
ScannerType,
SnmpAuthAlgorithm,
SnmpPrivacyAlgorithm,
SortOrder,
TicketStatus,
UserAuthType,
)
from .ospv1 import Osp

__all__ = [
"Gmp",
"Osp",
"AggregateStatistic",
"AlertCondition",
"AlertEvent",
"AlertMethod",
"AliveTest",
"CredentialType",
"CredentialFormat",
"EntityType",
"FeedType",
"FilterType",
"HelpFormat",
"HostsOrdering",
"InfoType",
"PermissionSubjectType",
"PortRangeType",
"ReportFormatType",
"ResourceType",
"ScannerType",
"SnmpAuthAlgorithm",
"SnmpPrivacyAlgorithm",
"SortOrder",
"TicketStatus",
"UserAuthType",
]

0 comments on commit 6fdbf2b

Please sign in to comment.