

def attach_stream(self, source, shape, name, semantic, stride, offset):
    'Missing'
    if (source is not None):
        if (isinstance(offset[0], tuple) is False):
            self.__attach_v1(shape, source, name, semantic, offset)
        elif (len(source[0]) == 2):
            self.__attach_v2(shape, source, name, semantic, offset)
        elif (len(source[0]) == 3):
            self.__attach_v3(shape, source, name, semantic, offset)
        elif (len(source[0]) == 4):
            self.__attach_v4(shape, source, name, semantic, offset)
    else:
        self.__set_source(shape, name, stride)
        self.__set_input(shape, semantic, {
            'source': name,
            'offset': offset,
        })

dataset/ETHPy150Open turbulenz/turbulenz_tools/turbulenz_tools/tools/asset2json.py JsonAsset.attach_stream/VarMisuse@38/44 `source`->`offset`