gmp.get_tasks() shows only 10 Elements … Is there a way to get the task greater then 10?
from gvmtools.helper import Table
response_xml = gmp.get_tasks()
print(response_xml.xpath(‘task’))
[<Element task at 0x7f0cf3d9ddc0>, <Element task at 0x7f0cf3d9dd00>, <Element task at 0x7f0cf3d9d940>, <Element task at 0x7f0cf3d9dbc0>, <Element task at 0x7f0cf3d9d400>, <Element task at 0x7f0cf3d9da80>, <Element task at 0x7f0cf3d9d480>, <Element task at 0x7f0cf3d9db40>, <Element task at 0x7f0cf3d9dec0>, <Element task at 0x7f0cf3d9df40>]
I need more details. Otherwise I can only guess, which is not very helpful in most cases.
What command have you explicitly called, so I can help you?
Edit: You probably need to use filter_string instead of filter. It just came into my mind, that we changed the API in this case to filter_string, see here.