__all__ = ['SHBBaseAccount']

# Standard Library:

# Third party

# Local applications:


class SHBBaseAccount:
    """
    This is a common accounts class. This class initiate variables and defines str dunder method.
    """

    def __init__(self):
        """
        Initiation method.
        """

        # Init variables:
        self.account_type = None
        self.shb_base = None
        self.info = None
        self.transactions = None

    def __str__(self):

        msg = ""

        # Account type:
        msg += "Account type:\n"
        if self.account_type is not None:
            msg += f"  Type: {self.account_type}\n"

        # SHBBase object:
        msg += "\nSHBBase Object Information:\n"
        if self.shb_base is not None:
            msg += f"  File Path: {self.shb_base.file_path}\n"
            msg += f"  Number of Tables: {len(self.shb_base.tables)}\n"

        # Information:
        msg += f"\nInformation:\n"
        if self.info is not None:
            for k, v in self.info.items():
                msg += f"  {k}: {v}\n"

        # Transaction:
        msg += f"\nTransactions:\n"
        if self.transactions is not None:
            msg += f"  Number of Transactions: {self.transactions.shape[0]}"

        return msg

abcbb7f238c8655075994eb6cd2d108205d6772a
<mask token>

<mask token>


class SHBBaseAccount:
    <mask token>

    def __init__(self):
        """
        Initiation method.
        """
        self.account_type = None
        self.shb_base = None
        self.info = None
        self.transactions = None

    def __str__(self):
        msg = ''
        msg += 'Account type:\n'
        if self.account_type is not None:
            msg += f'  Type: {self.account_type}\n'
        msg += '\nSHBBase Object Information:\n'
        if self.shb_base is not None:
            msg += f'  File Path: {self.shb_base.file_path}\n'
            msg += f'  Number of Tables: {len(self.shb_base.tables)}\n'
        msg += f'\nInformation:\n'
        if self.info is not None:
            for k, v in self.info.items():
                msg += f'  {k}: {v}\n'
        msg += f'\nTransactions:\n'
        if self.transactions is not None:
            msg += f'  Number of Transactions: {self.transactions.shape[0]}'
        return msg

<mask token>


class SHBBaseAccount:
    """
    This is a common accounts class. This class initiate variables and defines str dunder method.
    """

    def __init__(self):
        """
        Initiation method.
        """
        self.account_type = None
        self.shb_base = None
        self.info = None
        self.transactions = None

    def __str__(self):
        msg = ''
        msg += 'Account type:\n'
        if self.account_type is not None:
            msg += f'  Type: {self.account_type}\n'
        msg += '\nSHBBase Object Information:\n'
        if self.shb_base is not None:
            msg += f'  File Path: {self.shb_base.file_path}\n'
            msg += f'  Number of Tables: {len(self.shb_base.tables)}\n'
        msg += f'\nInformation:\n'
        if self.info is not None:
            for k, v in self.info.items():
                msg += f'  {k}: {v}\n'
        msg += f'\nTransactions:\n'
        if self.transactions is not None:
            msg += f'  Number of Transactions: {self.transactions.shape[0]}'
        return msg

__all__ = ['SHBBaseAccount']


class SHBBaseAccount:
    """
    This is a common accounts class. This class initiate variables and defines str dunder method.
    """

    def __init__(self):
        """
        Initiation method.
        """
        self.account_type = None
        self.shb_base = None
        self.info = None
        self.transactions = None

    def __str__(self):
        msg = ''
        msg += 'Account type:\n'
        if self.account_type is not None:
            msg += f'  Type: {self.account_type}\n'
        msg += '\nSHBBase Object Information:\n'
        if self.shb_base is not None:
            msg += f'  File Path: {self.shb_base.file_path}\n'
            msg += f'  Number of Tables: {len(self.shb_base.tables)}\n'
        msg += f'\nInformation:\n'
        if self.info is not None:
            for k, v in self.info.items():
                msg += f'  {k}: {v}\n'
        msg += f'\nTransactions:\n'
        if self.transactions is not None:
            msg += f'  Number of Transactions: {self.transactions.shape[0]}'
        return msg

__all__ = ['SHBBaseAccount']

# Standard Library:

# Third party

# Local applications:


class SHBBaseAccount:
    """
    This is a common accounts class. This class initiate variables and defines str dunder method.
    """

    def __init__(self):
        """
        Initiation method.
        """

        # Init variables:
        self.account_type = None
        self.shb_base = None
        self.info = None
        self.transactions = None

    def __str__(self):

        msg = ""

        # Account type:
        msg += "Account type:\n"
        if self.account_type is not None:
            msg += f"  Type: {self.account_type}\n"

        # SHBBase object:
        msg += "\nSHBBase Object Information:\n"
        if self.shb_base is not None:
            msg += f"  File Path: {self.shb_base.file_path}\n"
            msg += f"  Number of Tables: {len(self.shb_base.tables)}\n"

        # Information:
        msg += f"\nInformation:\n"
        if self.info is not None:
            for k, v in self.info.items():
                msg += f"  {k}: {v}\n"

        # Transaction:
        msg += f"\nTransactions:\n"
        if self.transactions is not None:
            msg += f"  Number of Transactions: {self.transactions.shape[0]}"

        return msg
