Common: Shorten the validator import statements

This commit is contained in:
vakarisz 2022-08-01 16:49:23 +03:00
parent d2d9d4c4c3
commit 42e6039463
2 changed files with 14 additions and 2 deletions

View File

@ -12,8 +12,12 @@ from .agent_sub_configurations import (
TCPScanConfiguration,
)
from .utils import freeze_lists
from .validators.filenames import validate_linux_filename, validate_windows_filename
from .validators.ip_ranges import validate_ip, validate_subnet_range
from .validators import (
validate_ip,
validate_linux_filename,
validate_subnet_range,
validate_windows_filename,
)
class CustomPBAConfigurationSchema(Schema):

View File

@ -0,0 +1,8 @@
from .filenames import validate_linux_filename, validate_windows_filename
from .ip_ranges import (
validate_ip,
validate_hostname,
validate_ip_range,
validate_subnet_range,
validate_ip_network,
)