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
I believe this is due to the TypedField.attrname property, which converts the XML fieldname "Type" to "type" and then appends an underscore because it's a builtin function. We should probably convert those to type_ as we did in #213.
This probably causes issues with the WinNetworkShare object's type field as well.
Yep. This never got caught in our round-trip tests since those just go to and from dictionaries, never with direct attribute assignment. This also affects Disk and DiskPartition. I'm fixing all of them.
If I build a
WinEventLog
object and set thetype
field on it, I get the following error duringto_xml()
:I believe this is due to the
TypedField.attrname
property, which converts the XML fieldname"Type"
to"type"
and then appends an underscore because it's a builtin function. We should probably convert those totype_
as we did in #213.This probably causes issues with the
WinNetworkShare
object'stype
field as well.Related to #188.
The text was updated successfully, but these errors were encountered: