beancount-gocardless 0.1.11__py3-none-any.whl → 0.1.12__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- beancount_gocardless/importer.py +9 -5
- {beancount_gocardless-0.1.11.dist-info → beancount_gocardless-0.1.12.dist-info}/METADATA +1 -1
- {beancount_gocardless-0.1.11.dist-info → beancount_gocardless-0.1.12.dist-info}/RECORD +6 -6
- {beancount_gocardless-0.1.11.dist-info → beancount_gocardless-0.1.12.dist-info}/WHEEL +0 -0
- {beancount_gocardless-0.1.11.dist-info → beancount_gocardless-0.1.12.dist-info}/entry_points.txt +0 -0
- {beancount_gocardless-0.1.11.dist-info → beancount_gocardless-0.1.12.dist-info}/licenses/LICENSE +0 -0
beancount_gocardless/importer.py
CHANGED
|
@@ -414,12 +414,16 @@ class GoCardLessImporter(beangulp.Importer):
|
|
|
414
414
|
expected_balance.balance_amount.currency,
|
|
415
415
|
)
|
|
416
416
|
balance_meta = {}
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
for b in balances.balances
|
|
417
|
+
balance_amounts = [
|
|
418
|
+
D(str(b.balance_amount.amount)) for b in balances.balances
|
|
420
419
|
]
|
|
421
|
-
|
|
422
|
-
|
|
420
|
+
if len(set(balance_amounts)) > 1:
|
|
421
|
+
detail_parts = [
|
|
422
|
+
f"{b.balance_type}: {b.balance_amount.amount} {b.balance_amount.currency}"
|
|
423
|
+
for b in balances.balances
|
|
424
|
+
]
|
|
425
|
+
detail = " / ".join(detail_parts)
|
|
426
|
+
balance_meta["detail"] = detail
|
|
423
427
|
# Include custom metadata from config for consistency with transactions
|
|
424
428
|
balance_meta.update(custom_metadata)
|
|
425
429
|
meta = data.new_metadata("", 0, balance_meta)
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
beancount_gocardless/__init__.py,sha256=JVJivGs-o5yY8YGqTYwn1cXY7aiA76lUyc95s1Ye-j0,253
|
|
2
2
|
beancount_gocardless/cli.py,sha256=EDa01K1-E7e_Y0mHyISR4oimlo_nh5mLlE0RbhEFDAQ,4775
|
|
3
3
|
beancount_gocardless/client.py,sha256=2Sl8yeS7Lb1Y9qH8lZfGYrIVI_wkKy7ckZHG0GLE30Y,15572
|
|
4
|
-
beancount_gocardless/importer.py,sha256=
|
|
4
|
+
beancount_gocardless/importer.py,sha256=jJMwbK0gTMHqyAIiFra7PD_zOyljsT5UZdyP4ESwF9Y,16895
|
|
5
5
|
beancount_gocardless/models.py,sha256=UuuX8mj8X2_kS17Q3CeJ68J960h0Nq1-fN7kT06oiYg,18269
|
|
6
6
|
beancount_gocardless/tui.py,sha256=Tk5AN0PeZZfXlQqm81P5Bmtdx-_whUyuKSsBv4eiF5w,26409
|
|
7
7
|
beancount_gocardless/openapi/swagger.json,sha256=t8TLbt0l2UOyorZX8JyoG4XO2qtXDRYUlsllM3ckyG4,264957
|
|
8
|
-
beancount_gocardless-0.1.
|
|
9
|
-
beancount_gocardless-0.1.
|
|
10
|
-
beancount_gocardless-0.1.
|
|
11
|
-
beancount_gocardless-0.1.
|
|
12
|
-
beancount_gocardless-0.1.
|
|
8
|
+
beancount_gocardless-0.1.12.dist-info/METADATA,sha256=PxZ-47qT_fYVv88qlTUbyzvjHyWITCmBMD6e8ggnRxA,4124
|
|
9
|
+
beancount_gocardless-0.1.12.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
10
|
+
beancount_gocardless-0.1.12.dist-info/entry_points.txt,sha256=_l8n11k9nGPaSDou4atu5NkV0Ojf-qjW2zIIGPzmmgA,128
|
|
11
|
+
beancount_gocardless-0.1.12.dist-info/licenses/LICENSE,sha256=awOCsWJ58m_2kBQwBUGWejVqZm6wuRtCL2hi9rfa0X4,1211
|
|
12
|
+
beancount_gocardless-0.1.12.dist-info/RECORD,,
|
|
File without changes
|
{beancount_gocardless-0.1.11.dist-info → beancount_gocardless-0.1.12.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{beancount_gocardless-0.1.11.dist-info → beancount_gocardless-0.1.12.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|