Skip to content

Icici

pipelines.extraction.csv.banks.icici

Summary

Icici bank-specific port implementations (csv table path).


Faithful port of domain/extraction/banks/icici/csv.py: shares all table logic with xlsx via the shared TableParserMixin (default icici aliases).

IciciCsvExtractionPipeline pins the reader; ordering/balance policy stays in the shared tabular txn_dicts stage.

Classes

IciciCsvExtractionPipeline

Bases: ImplCsvExtractionPipeline

Icici csv graph root — pins the Icici reader.

Attributes:

Name Type Description
table_reader IciciCsvTableReaderPort

Icici csv reader stage.

Functions
run
run(source) -> List[Any]

Run the direct-table extraction chain.

Parameters:

Name Type Description Default
source

Raw extraction source.

required

Returns:

Type Description
List[Any]

List[Any]: Raw expense records.

IciciCsvTableReaderPort

Bases: ImplCsvTableReaderPort

Icici csv reader — inherits the default (icici) column aliases.

Functions
read
read(content) -> List[dict]

Read typed records from csv content.

Parameters:

Name Type Description Default
content

Materialized content (Content, bytes, or dict).

required

Returns:

Type Description
List[dict]

List[dict]: Typed table records.