Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
eprbell committed Jul 18, 2024
1 parent 1a9f9da commit 463f224
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ Accounting method plugins are discovered by RP2 at runtime and they must adhere
```
def lot_candidates_order(self) -> AcquiredLotCandidatesOrder:
```
* write the body of the method: it returns `AcquiredLotCandidatesOrder.OLDER_TO_NEWER` or `AcquiredLotCandidatesOrder.NEWER_TO_OLDER`, depending on whether the desired chronological order is ascending or descending.
* write the body of the method: it should return either `AcquiredLotCandidatesOrder.OLDER_TO_NEWER` or `AcquiredLotCandidatesOrder.NEWER_TO_OLDER`, depending on whether the desired chronological order is ascending or descending.
* For feature-based accounting methods:
* import the following (plus any other RP2 or Python package you might need):
Expand All @@ -304,7 +304,7 @@ Accounting method plugins are discovered by RP2 at runtime and they must adhere
AbstractFeatureBasedAccountingMethod,
AcquiredLotSortKey,
)
from rp2.in_transaction import InTransaction
from rp2.in_transaction import InTransaction
```
* Add a class named `AccountingMethod`, deriving from `AbstractFeatureBasedAccountingMethod`:
```
Expand Down

0 comments on commit 463f224

Please sign in to comment.