pyiron / pyiron_workflow

Graph-and-node based workflows
BSD 3-Clause "New" or "Revised" License
15 stars 2 forks source link

[patch] Remove the need to double-decorate #398

Closed liamhuber closed 3 months ago

liamhuber commented 3 months ago

If you're making something a dataclass node, you can now pass in a dataclass-compliant class that is not yet a dataclass and we'll take care of turning it into one for you. That means you only need @Workflow.wrap.as_dataclass_node and not @Workflow.wrap.as_dataclass_node;@dataclass. Per Joerg's wishlist.

github-actions[bot] commented 3 months ago

Binder :point_left: Launch a binder notebook on branch _pyiron/pyiron_workflow/dataclass_decoratorpolymorphism

codacy-production[bot] commented 3 months ago

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
:white_check_mark: +0.03% (target: -1.00%) :white_check_mark: 100.00%
Coverage variation details | | Coverable lines | Covered lines | Coverage | | ------------- | ------------- | ------------- | ------------- | | Common ancestor commit (2f7a7d06f53884010d98808d913547ff93bf76c2) | 3509 | 3242 | 92.39% | | | Head commit (5cb9c47d671073144d890e4985e28a1d210d87d5) | 3509 (+0) | 3243 (+1) | 92.42% (**+0.03%**) | **Coverage variation** is the difference between the coverage for the head and common ancestor commits of the pull request branch: ` - `
Diff coverage details | | Coverable lines | Covered lines | Diff coverage | | ------------- | ------------- | ------------- | ------------- | | Pull request (#398) | 3 | 3 | **100.00%** | **Diff coverage** is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: `/ * 100%`

See your quality gate settings    Change summary preferences


:rocket: Don’t miss a bit, follow what’s new on Codacy.

Codacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more

coveralls commented 3 months ago

Pull Request Test Coverage Report for Build 10187144559

Details


Totals Coverage Status
Change from base Build 10186822369: 0.03%
Covered Lines: 3243
Relevant Lines: 3509

💛 - Coveralls