AMBARI-26068: Fix python3 type error on trunk reader and  collections.Mapping (#3780)

2 files changed