Pyhton return Annommous Anmory Object

>>> obj = type('',(object,),{"foo": 1})()
>>> obj.foo
1
DreamCoder