You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This looks to be a valid syntax in LookML, but when we try to parse it, we get this error:
KeyError: 'Key "override_constant" already exists in tree and would overwrite the existing value.'
The parser supports multiple constant keys at the top level, can it be updated to support multiple override_constant keys in the local_dependency and remote_dependency blocks?
The text was updated successfully, but these errors were encountered:
Hey @kushal-i! lkml does not currently explicitly support parsing the project manifest file. As far as I can tell, constant isn't supported either, as parsing the following:
which does not contain the first constant defined.
I would absolutely review a PR to support parsing the manifest file, but it's not currently a priority for me to implement. If you want to tackle it, you'd need to look in lkml/keys.py and make some additions to the PLURAL_KEYS tuple, which contains keys like view and dimension where multiple definitions should be allowed.
We have this situation in one of our project's manifest file:
This looks to be a valid syntax in LookML, but when we try to parse it, we get this error:
The parser supports multiple
constant
keys at the top level, can it be updated to support multipleoverride_constant
keys in the local_dependency and remote_dependency blocks?The text was updated successfully, but these errors were encountered: