Skip to content
Snippets Groups Projects
Commit cba9d796 authored by Gioacchino Vino's avatar Gioacchino Vino
Browse files

Reviewed scan python code

parent 6a107901
No related branches found
No related tags found
1 merge request!108Updated Python scan code
...@@ -73,10 +73,10 @@ class Target: ...@@ -73,10 +73,10 @@ class Target:
""" """
def __init__(self, def __init__(self,
name: str, name: str = "",
id: str, id: str = "",
in_use: str, in_use: str = "",
hosts: str, hosts: str = "",
client = None): client = None):
self.client = client self.client = client
self.name = name self.name = name
...@@ -122,11 +122,11 @@ class Task: ...@@ -122,11 +122,11 @@ class Task:
""" """
def __init__(self, def __init__(self,
name: str, name: str = "",
id: str, id: str = "",
client = None, client = None,
in_use: str = None, in_use: str = "",
status: str = None, status: str = "",
report_id: str = None): report_id: str = None):
self.client = client self.client = client
self.name = name self.name = name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment