File tree Expand file tree Collapse file tree 3 files changed +1
-34
lines changed
Expand file tree Collapse file tree 3 files changed +1
-34
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ class GMPv224(GvmProtocol[T]):
122122
123123 def __init__ (self , * args , ** kwargs ):
124124 """
125- Create a new GMPv224 instance.
125+ Create a new GMP protocol instance.
126126
127127 Args:
128128 connection: Connection to use to talk with the remote daemon. See
Original file line number Diff line number Diff line change @@ -30,23 +30,6 @@ class GMPv225(GMPv224[T]):
3030 resp = gmp.get_tasks()
3131 """
3232
33- def __init__ (self , * args , ** kwargs ):
34- """
35- Create a new GMPv225 instance.
36-
37- Args:
38- connection: Connection to use to talk with the remote daemon. See
39- :mod:`gvm.connections` for possible connection types.
40- transform: Optional transform `callable <https://docs.python.org/3/library/functions.html#callable>`_
41- to convert response data.
42- After each request the callable gets passed the plain response data
43- which can be used to check the data and/or conversion into different
44- representations like a xml dom.
45-
46- See :mod:`gvm.transforms` for existing transforms.
47- """
48- super ().__init__ (* args , ** kwargs )
49-
5033 @staticmethod
5134 def get_protocol_version () -> tuple [int , int ]:
5235 return (22 , 5 )
Original file line number Diff line number Diff line change @@ -38,22 +38,6 @@ class GMPv226(GMPv225[T]):
3838 resp = gmp.get_tasks()
3939 """
4040
41- def __init__ (self , * args , ** kwargs ):
42- """
43- Create a new GMP protocol instance.
44-
45- Args:
46- connection: Connection to use to talk with the remote daemon. See
47- :mod:`gvm.connections` for possible connection types.
48- transform: Optional transform `callable <https://docs.python.org/3/library/functions.html#callable>`_ to convert response data.
49- After each request the callable gets passed the plain response data
50- which can be used to check the data and/or conversion into different
51- representations like a xml dom.
52-
53- See :mod:`gvm.transforms` for existing transforms.
54- """
55- super ().__init__ (* args , ** kwargs )
56-
5741 @staticmethod
5842 def get_protocol_version () -> tuple [int , int ]:
5943 return (22 , 6 )
You can’t perform that action at this time.
0 commit comments