Open pkimp1 opened 3 months ago
Hey @pkimp1 - this is on our backlog to fix, I just cant give you a timeline right now.
As you're aware, to install this SDK you must pull directly from github, which means we are unable to introduce any breaking changes in the SDK - and fixing this issue would break anyone using this SDK with python <= 3.8
That most likely means we will be deprecating this repo and migrating the source to a new repo, and releasing to PyPi from there so we can properly version this package
More to come here, and I hope to get this work pulled in within the next week or so - will keep this issue open to track and hopefully have some more info for ya soon!
@ajrice6713 Thanks for the update! We'll keep an eye out for the new package.
Hi @pkimp1
The new package is available, we moved to a new repository called python-numbers-sdk and deployed to pip using pip install bandwidth-numbers-sdk
There was a breaking change in that we changed the name of the package, so instead of import iris_sdk
you will need to use import bandwidth_numbers
Description
For Python 3.9 and up, the
getchildren()
method is removed. See https://docs.python.org/3.8/library/xml.etree.elementtree.html#xml.etree.ElementTree.Element.getchildrenThis will cause an error with message
'xml.etree.ElementTree.Element' object has no attribute 'getchildren'
.Environment Information
Stack Trace
'xml.etree.ElementTree.Element' object has no attribute 'getchildren'
Sample Code Snippet
Suggested Fix
Replace all occurrences of this method (
getchildren()
) withlist()
as stated in the documentation linked above.