invenia / invenia/Checkpoints.jl
Change checkpoint to be `checkpoint(name, tags...; data...)`
- Dominant language
- Julia
- Stars
- 12
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
As of #15 (cc @mzgubic)
we are allowed duplicate tags, and because of this `with_tag` is used as `with_tag(:tag1=1, :tag2=2) do`
Since we need to actually have a function that can take those duplicate tags they can't be in the keyword positon.
Conversely, the data keys must be unique, so having them in the varargs position is suboptimal.
Also as of #15 it will be very rare to pass tags directly to a checkpoint.
So calls will be `checkpoint("FooBar"; foo=1, bar=[1,2,3])` which will create JLSO files containing both `foo` and `bar`.
In a location determined by the context tags
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.