I want to make script in Python to create some kind of report from AssetData list, that filtered by it’s class type. The filter of AssetData included in the report would all that have unreal.AnimationAsset as it’s parent class (such as unreal.AnimSequence, unreal.AnimMontage, etc). I can make it by the filter one by one
anim_asset = list(filter(lambda dpa: (dpa.get_class() is unreal.AnimSequence.static_class()) or (dpa.get_class() is unreal.AnimMontage.static_class()), allAsset))
However, instead of listing the class one by one, I wish to have something that similar like this C++ code, but in Python
How could it be done?