Commit e5c54a9
authored
Merge pull request #50 from mikofski/datalayer_args
refactor layers to remove redundancy
* layers are plural: `Calculations`, `Simulations`, `Formulas`, except `Data` layer
* layers are made from sources
* sources are singular: `Calc`, `Simulation`, `Formula`, except `DataSource`
* add `add()`, `edit()` and `delete()` methods to superclass
* add `reg_cls` class attirbute to super class, to be set by subclasses
* add `sources`, `reg` and `objects` to superclass6 files changed
Lines changed: 135 additions & 156 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
0 commit comments