In javascript, we have this object declaration:
var object = {property1:1,property2:1 }
In python, the traditional way we do that:
class my_cls:
def __init__(self):
self.property1=1
self.property2=1
object = my_cls()
is there a shortcut in python to declare an object?