stchris / untangle

Converts XML to Python objects
MIT License
611 stars 83 forks source link

Get element attributes dict without accessing private parameter _attributes #41

Open flyte opened 7 years ago

flyte commented 7 years ago

Is there a reason _attributes should not be publicly accessible? It's useful for me to get this out as a dict. I guess there's a reason to not allow external changes to _attributes, hence the copy().

coveralls commented 7 years ago

Coverage Status

Coverage increased (+0.9%) to 36.19% when pulling 820ef249cfb6c07fdb0996e63cbc0f49b2f80573 on flyte:patch-1 into 2119763f721b23588b6223f28264843f6fc9f750 on stchris:master.