Closed RushikSantoki closed 1 year ago
>>> import stdnum.ca.sin
>>>
>>> stdnum.ca.sin.validate
<function validate at 0x7f0fa1fd8dc0>
>>>
Closing this now since the issue has been answered. It is probably not a good idea for python-stdnum to make all modules available through the toplevel module name because of performance reasons (all the modules would have to be loaded for simply an import stdnum
statement).
I am trying to use
stdnum.ca.sin.validate()
For which I am getting an error AttributeError: module 'stdnum' has no attribute 'ca'
It is not able to find reference 'ca' in 'init.py', says the suggestion.
Following is the code I am implementing: