You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using PyLance or other type checkers, the function xmlsec.template.create reports errors such as
"No parameter named ns"
"No parameter named id"
However, according to the official documentation and the module’s C-level docstring, create supports optional id and ns parameters. This is in line 607 of src/template.c.
"encrypted_data_create(node, method, id = None, type = None, mime_type = None, encoding = None, ns = None) -> lxml.etree._Element\n"