how to create inline objects with properties in python?,"obj = type('obj', (object,), {'propertyName': 'propertyValue'})"