src/eric7/WebBrowser/VirusTotal/VirusTotalApi.py

branch
eric7
changeset 10436
f6881d10e995
parent 9653
e67609152c5e
child 10439
21c28b0f9e41
--- a/src/eric7/WebBrowser/VirusTotal/VirusTotalApi.py	Fri Dec 22 13:57:47 2023 +0100
+++ b/src/eric7/WebBrowser/VirusTotal/VirusTotalApi.py	Fri Dec 22 17:24:07 2023 +0100
@@ -62,7 +62,8 @@
         """
         Constructor
 
-        @param parent reference to the parent object (QObject)
+        @param parent reference to the parent object
+        @type QObject
         """
         super().__init__(parent)
 
@@ -102,8 +103,10 @@
         """
         Public method to check the validity of the given service key.
 
-        @param key service key (string)
-        @param protocol protocol used to access VirusTotal (string)
+        @param key service key
+        @type str
+        @param protocol protocol used to access VirusTotal
+        @type str
         """
         urlStr = (
             self.GetFileReportUrl
@@ -151,7 +154,8 @@
         """
         Public method to submit an URL to be scanned.
 
-        @param url url to be scanned (QUrl)
+        @param url url to be scanned
+        @type QUrl
         """
         request = QNetworkRequest(QUrl(self.ScanUrlUrl))
         request.setHeader(
@@ -199,7 +203,8 @@
         """
         Private method to get the report URL for a URL scan.
 
-        @param scanId ID of the scan to get the report URL for (string)
+        @param scanId ID of the scan to get the report URL for
+        @type str
         """
         request = QNetworkRequest(QUrl(self.GetUrlReportUrl))
         request.setHeader(
@@ -236,7 +241,8 @@
         """
         Private method to get the report URL for a file scan.
 
-        @param scanId ID of the scan to get the report URL for (string)
+        @param scanId ID of the scan to get the report URL for
+        @type str
         """
         request = QNetworkRequest(QUrl(self.GetFileReportUrl))
         request.setHeader(

eric ide

mercurial