dbx icon indicating copy to clipboard operation
dbx copied to clipboard

Enable Jinja2 templates from working dir

Open roelschr opened this issue 2 years ago • 1 comments
trafficstars

Proposed changes

Enable users to (optionally) set the Jinja2 base working directory to os.curdir. By using the new option --jinja-working-dir, Jinja will treat the current directory as a working directory and Templates can be loaded from any namespace downstream.

This was the default behavior in version 0.6.0 but was removed at some point. Issue: https://github.com/databrickslabs/dbx/issues/844

Types of changes

What types of changes does your code introduce to dbx?

  • [ ] Bugfix (non-breaking change which fixes an issue)
  • [x] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • [ ] Documentation Update (if none of the other choices apply)

roelschr avatar Sep 14 '23 15:09 roelschr

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

CLAassistant avatar Nov 27 '23 20:11 CLAassistant

hi @roelschr , unfortunately we don't take new contributions to dbx and keep project in maintenance mode with security updates. Please use DABs instead of dbx.

renardeinside avatar Jun 25 '24 09:06 renardeinside