swap Money for MoneyAmount, fix a couple of things along the way
This commit is contained in:
parent
ab2ac1ec6a
commit
0947b34ebf
6 changed files with 26 additions and 27 deletions
|
|
@ -1,6 +1,5 @@
|
|||
import pathlib
|
||||
from dataclasses import dataclass
|
||||
from decimal import Decimal
|
||||
|
||||
from money.currency import Currency
|
||||
|
||||
|
|
@ -8,8 +7,6 @@ from xexe.rate_fetching import MockRateFetcher, XERateFetcher
|
|||
|
||||
DEFAULT_CURRENCIES = {Currency("EUR"), Currency("GBP"), Currency("USD")}
|
||||
|
||||
DEFAULT_MAX_DECIMALS = Decimal("0.00000001")
|
||||
|
||||
RATES_SOURCES = {"mock": MockRateFetcher, "xe": XERateFetcher}
|
||||
|
||||
DWH_SCHEMA = "sync_xedotcom_currency_rates"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue