def __getitem__(self, stream_id):
if stream_id not in self.get_out_streamids():<EOL><INDENT>raise ValueError("<STR_LIT>" % stream_id)<EOL><DEDENT>component_id = self.name or self<EOL>return GlobalStreamId(componentId=component_id, streamId=stream_id)<EOL>
Get GlobalStreamId for a given stream_id