This repository was archived by the owner on Aug 25, 2024. It is now read-only.
Commit c0f133d
committed
df: types: Make DataFlow not a dataclass
* dataclasses.asdict recursively converts dataclasses into dicts.
This resulted in the DataFlow.export method not being called and
by_origin ending up in configs which had DataFlows as a property
(dffml.dataflow.run). By making DataFlow a regular class and not a
dataclass we avoid this issue.
Signed-off-by: John Andersen <[email protected]>1 parent b054fb3 commit c0f133d
2 files changed
+25
-12
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
412 | 412 | | |
413 | 413 | | |
414 | 414 | | |
415 | | - | |
416 | 415 | | |
417 | | - | |
418 | | - | |
419 | | - | |
420 | | - | |
421 | | - | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
| 421 | + | |
| 422 | + | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
| 436 | + | |
427 | 437 | | |
428 | | - | |
429 | 438 | | |
430 | 439 | | |
| 440 | + | |
| 441 | + | |
431 | 442 | | |
432 | 443 | | |
433 | 444 | | |
| |||
0 commit comments