def createStreams(api): for att in ATTRIBUTE_NAME: createStream(api, att) level = NLEVEL - 1 for _ in range(NLEVEL): cStep = SCALE * STEP ** level createStream(api, "ts" + str(cStep)) level -= 1
def createStreams(api): for att in ATTRIBUTE_NAME[1:]: createStream(api, att) level = NLEVEL - 1 for _ in range(NLEVEL): cStep = SCALE * STEP**level createStream(api, PREFIX + str(cStep)) level -= 1 createStream(api, NRID)
def createStreams(api): for att in ATTRIBUTE_NAME: createStream(api, att) createStream(api, DATA)
def createStreams(api): createStream(api, STREAM)
def createStreams(api): for s in STREAMS: createStream(api, s)
def createStreams(api): for att in ATTRIBUTE_NAME: createStream(api, att) # createStream(api, UID) createStream(api, NRID)