This should make a local copy of the value instead of just assigning.
def set_streaming_data(self,value=None):
if(value is None):
raise ValueError("Missing value attribute, please give value of symbols")
self.streaming=value
Right approach is
def set_streaming_data(self,value:list=None):
if(value is None):
raise ValueError("Missing value attribute, please give value of symbols")
self.streaming=value.copy ()
This should make a local copy of the value instead of just assigning.
Right approach is
Please check.