tags = {'stream', 'auth'}
tags['stream']= {}
tags["stream"]["path"]= ["/streams"]
tags['stream']['attribute']= ['id', 'secure', 'cpcode', 'format', 'event_pattern']
The above code throws an error:
tags["stream"]= {}
TypeError: 'set' object does not support item assignment
How to create a dictionary of dictionary of list?