moved this conversion from out of load_from_string to setup. This will let loading from dict also convert connections/schedules to Associations. Test passed, ran black.
Additionally, IOTypeMixin was not looking for "type", not "io_type", inside of the Entitydict for underground belts. This caused them to always be inputs and never outputs. This fix broke test, and I don't really understand why. The fix is correct though.
moved this conversion from out of
load_from_string
tosetup
. This will let loading fromdict
also convert connections/schedules toAssociations
. Test passed, ran black.Additionally,
IOTypeMixin
was not looking for "type", not "io_type", inside of theEntity
dict
for underground belts. This caused them to always be inputs and never outputs. This fix broke test, and I don't really understand why. The fix is correct though.