For example in pseudocode:
class Example:
def __init__(self, dict):
for key, value in dict.items():
self.key = value
a = Example({"objectVariable": ["some", "data"]})
print(a.objectVariable)
>>>["some", "data"]
How would I implement this?
Thanks in advance