Jun-te Kim
|
5470fa1d93
|
move landlord overrides
|
2026-06-01 15:46:46 +00:00 |
|
Jun-te Kim
|
8a9d14a45c
|
landlord overrids moved into one repo
|
2026-06-01 15:16:23 +00:00 |
|
Jun-te Kim
|
8422041215
|
landlord overrid orchestration
|
2026-05-26 15:27:45 +00:00 |
|
Jun-te Kim
|
675aa089c9
|
updated rdsap option; seperated s3 location in infrastrucutre; added open ai api
|
2026-05-22 14:00:33 +00:00 |
|
Jun-te Kim
|
61efcad27b
|
standardist Address
|
2026-05-22 10:13:32 +00:00 |
|
Jun-te Kim
|
0dee917094
|
unsanistiesed address list instead of raw address lit
|
2026-05-22 08:27:59 +00:00 |
|
Jun-te Kim
|
91bb4b6571
|
address list
|
2026-05-22 08:22:13 +00:00 |
|
Jun-te Kim
|
84098e28ff
|
raw address list repo
|
2026-05-22 08:17:37 +00:00 |
|
Jun-te Kim
|
cf14a4e3aa
|
rename to SAL and AssetList and RawAddresses
|
2026-05-22 08:14:46 +00:00 |
|
Jun-te Kim
|
acb306f7b9
|
asset list from landlord
|
2026-05-22 07:34:50 +00:00 |
|
Jun-te Kim
|
94cbf5f516
|
changed useraddress landlordasset list
|
2026-05-21 16:59:57 +00:00 |
|
Jun-te Kim
|
b14f98788e
|
added landlord orchestration
|
2026-05-21 16:32:50 +00:00 |
|
Jun-te Kim
|
dc159e0b45
|
tests framework completed
|
2026-05-20 14:00:19 +00:00 |
|
Jun-te Kim
|
d0cf3d14ad
|
get rid of comments
|
2026-05-20 13:21:11 +00:00 |
|
Jun-te Kim
|
8bb90a5aa5
|
sanitisation of postcode
|
2026-05-20 12:57:03 +00:00 |
|
Jun-te Kim
|
914a8ed51e
|
postcode splliter working e2e
|
2026-05-20 11:07:40 +00:00 |
|
Jun-te Kim
|
708f1b5d18
|
repositories: UserAddressRepository + UserAddressCsvS3Repository (CSV-on-S3 adapter)
Adds the persistence layer for UserAddress batches:
- Abstract UserAddressRepository with load_batch / save_batch.
- Concrete UserAddressCsvS3Repository over CsvS3Client:
- load_batch reads canonical upload columns (Address 1/2/3, Postcode,
Internal Reference), comma-joins non-empty address parts, and
passes Internal Reference through (None when missing/empty).
- save_batch writes a 3-column CSV (user_address,postcode,
internal_reference) to {path_prefix}/{ISO datetime}_{uuid8}.csv
and returns the s3://bucket/key URI.
- Postcode sanitisation flows through UserAddress.__post_init__; the
repo never calls sanitise_postcode directly.
Tests (moto-backed) cover: three-line address load, Address-1-only
load, missing Internal Reference, save->reload round trip, and
unique-filename-per-save. pyright --strict clean.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
2026-05-19 17:37:02 +00:00 |
|
Jun-te Kim
|
54a674b5c8
|
added postcode splitter rewrite to ddd
|
2026-05-19 16:35:09 +00:00 |
|