Closed
Description
As I upgraded to a newer version of python-xmlsec
, mypy
in my project started to report errors:
error: Module has no attribute "template" [attr-defined]
My code is working and looks like:
import xmlsec
...
xmlsec.template.add_x509_data(key_info)
I figured it's since ceaea9c as the line from xmlsec import constants, template, tree
was removed from src/xmlsec/__init__.pyi
and only constants
and tree
was returned in different forms of import, but template
seems to be forgotten.
Metadata
Metadata
Assignees
Labels
No labels