perform a type test instead of type(x) == types.FoobarType. In example for type().
Sürükleyip bırakarak bir dosya ekle veya yüklemek için tıklayın