We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ [ Page { val: {metric.name: generate(metric, _manifest.pageId, idx) for idx, metric in _manifest.metrics} }, ] for _manifest in manifests ]
Gets _manifest not defined
The text was updated successfully, but these errors were encountered:
Hello @steeling , I can't reproduce this issue. My kcl version is v0.9.0-alpha.1, could you please provider more information?
manifests = [ { metrics = [ { name = "key" } ] pageId = 1 } ] generate = lambda x, y, z { # Returns page.id y } schema Page: val: any x = [ [ # Note I've used `"{}".format(metric.name)` here. Page { val: {"{}".format(metric.name): generate(metric, _manifest.pageId, idx) for idx, metric in _manifest.metrics} }, ] for _manifest in manifests ]
The output is
manifests: - metrics: - name: key pageId: 1 x: - - val: key: 1
Sorry, something went wrong.
ya that's working for me as well, not sure if it was an older version i was using at the time or if i had some other errors. sorry for the noise
No branches or pull requests
Gets _manifest not defined
The text was updated successfully, but these errors were encountered: