谁能为我提供指向DBX中使用命名属性的示例的链接。该文档提到了.json文件的示例,
,但它没有提及如何使用示例变量调用此文件。我需要编写Python代码以包含包含这些变量的文件吗?
我有两个环境,我想将不同的变量传递到deployment.json文件。
Can anyone provide me a link to an example of using named properties in dbx. The documentation mentions an example of a .json file,
https://dbx.readthedocs.io/en/latest/named_properties.html
but it does not mention how we can invoke this file with sample variables. Do I need to write python code to have a file containing these variables?
I have two enviornments and I want to pass on different variables to the deployment.json file.
发布评论
评论(2)
通过VAR的最新方法是使用自DBX 0.6.6以来。
并且请勿使用 Jinja标准。
The most recent way to passing var is by using the --jinja-variables-file since dbx 0.6.6.
And do not use the env vars, it's not jinja standard.
dbx
的作者。借助最新的0.7.0更新,我们完全支持通过文件传递环境变量和变量。
请检查:
有关详细信息
author of
dbx
here.With latest 0.7.0 update we fully support passing both environment variables and variables from file.
Please check:
for details