Skip to content

Commit

Permalink
fix(banks): allow pdf config to be optional
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamin-awd committed Oct 8, 2023
1 parent 55ce03d commit ba3ff5d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion monopoly/bank.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import os
from dataclasses import dataclass
from datetime import datetime
from typing import Optional

from google.cloud import storage
from pandas import DataFrame
Expand All @@ -17,9 +18,9 @@

@dataclass
class Bank:
pdf_config: PdfConfig
statement_config: StatementConfig
file_path: str
pdf_config: Optional[PdfConfig] = None
transform_dates: bool = True

def extract(self) -> Statement:
Expand Down

0 comments on commit ba3ff5d

Please sign in to comment.