Commit 0af468b
authored
Support listing gridpool orders without price or quantity (#182)
When listing, gridpool orders that do not contain a price or quantity
were previously considered invalid and raised an exception. Since this
prevented listing any set of orders where at least one order was
considered invalid, this has been changed and users have to validate
orders themselves.File tree
3 files changed
+4
-20
lines changed- src/frequenz/client/electricity_trading
- tests
3 files changed
+4
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1316 | 1316 | | |
1317 | 1317 | | |
1318 | 1318 | | |
1319 | | - | |
1320 | | - | |
1321 | | - | |
1322 | 1319 | | |
1323 | 1320 | | |
1324 | 1321 | | |
| |||
1332 | 1329 | | |
1333 | 1330 | | |
1334 | 1331 | | |
1335 | | - | |
1336 | | - | |
1337 | | - | |
1338 | | - | |
1339 | | - | |
1340 | | - | |
1341 | | - | |
1342 | | - | |
1343 | | - | |
1344 | | - | |
1345 | | - | |
1346 | 1332 | | |
1347 | 1333 | | |
1348 | 1334 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
551 | 551 | | |
552 | 552 | | |
553 | 553 | | |
| 554 | + | |
554 | 555 | | |
555 | 556 | | |
556 | 557 | | |
557 | 558 | | |
558 | | - | |
559 | | - | |
560 | | - | |
561 | | - | |
| 559 | + | |
562 | 560 | | |
563 | 561 | | |
564 | 562 | | |
565 | 563 | | |
566 | 564 | | |
567 | 565 | | |
568 | 566 | | |
569 | | - | |
570 | | - | |
| 567 | + | |
571 | 568 | | |
572 | 569 | | |
573 | 570 | | |
| |||
0 commit comments