Version 0.9.3 #1511
mandel
announced in
Announcements
Version 0.9.3
#1511
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
New Features
The main new features are:
pdl_usageandpdl_scopeto the PDL scopescopefield to the code blocksparametersfield to Jinja code blocksNew special variable
The
pdl_usagevariable contains the statistics accumulated by the calls the the models. Here is a simple examples showing the fields of thepdl_usagevariable.The
pdl_scopevariable allows to do reflexion on the variables in scope at the current execution point. The following examples list the available variables:The
scopefield in code blocksThe user can now specify which variables are available the the scope of the code executed in a code Python and Jinja code block (by default all of the variables in
pdl_scopeare available). Here is an example where the variablexandyare in scope for the code block, but not the variablez:Jinja code block parameters
The user can now configure Jinja template behavior by passing parameters to the Jinja
Templateconstructor. Here is an example that configures Jinja's whitespace handling:Non-backward compatible changes
This release introduce some changes that are not compatible with previous versions of PDL:
.signatureon functions has changedWhat's Changed
pdl_scopeto the scope by @mandel in feat: addpdl_scopeto the scope #1480parametersfield to Jinja code blocks by @mandel in feat: add aparametersfield to Jinja code blocks #1485get_tool_callsfunction instdlibby @mandel in feat: add aget_tool_callsfunction instdlib#1484Full Changelog: v0.9.2...v0.9.3
This discussion was created from the release Version 0.9.3.
All reactions