Skip to content

v0.2.0

Compare
Choose a tag to compare
@tobiasraabe tobiasraabe released this 16 Apr 12:46
· 27 commits to main since this release
c723524

Highlights

This release adds a new interface to pytask-julia which is explained in the readme.

The path to the script, options, and an environment is now handled by the decorator.

@pytask.mark.julia(script="script.jl", project=".", options=["--threads", 2])
@pytask.mark.produces("out.csv")
def task_run_jl_script():
    pass

Passing dependencies, products or other information to the Julia script is a problem of the past. Now, all the information can serialized to a .json or .yaml file. The path to this file is passed to the Julia script. Inside the script, you can read the serialized information which gives you a dictionary like this:

{
    "depends_on": ...,
    "produces": ...,
    ...
}

Full Changelog: v0.1.0...v0.2.0