warn_transformer/transformers/ia.py
def handle_amendments(
        self, row_list: typing.List[typing.Dict]
    ) -> typing.List[typing.Dict]:
        """Remove amended filings from the provided list of records.

        Args:
            row_list (list): A list of clean rows of data.

        Returns: A list of cleaned data, minus amended records.
        """
        amendments_count = len([r for r in row_list if r["is_amendment"] is True])
        logger.debug(f"{amendments_count} amendments in {self.postal_code}")
        logger.debug(
            "No action has been taken because it does not appear to be necessary to remove ancestor filings."
        )
        return row_list
Remove amended filings from the provided list of records.

        Args:
            row_list (list): A list of clean rows of data.

        Returns: A list of cleaned data, minus amended records.
        
Remove amended filings from the provided list of records.
Remove amended filings from the provided list of records .
def handle_amendments(
        self, row_list: typing.List[typing.Dict]
    ) -> typing.List[typing.Dict]:
        amendments_count = len([r for r in row_list if r["is_amendment"] is True])
        logger.debug(f"{amendments_count} amendments in {self.postal_code}")
        logger.debug(
            "No action has been taken because it does not appear to be necessary to remove ancestor filings."
        )
        return row_list
def handle_amendments ( self , row_list : typing . List [ typing . Dict ] ) -> typing . List [ typing . Dict ] : amendments_count = len ( [ r for r in row_list if r [ "is_amendment" ] is True ] ) logger . debug ( f"{amendments_count} amendments in {self.postal_code}" ) logger . debug ( "No action has been taken because it does not appear to be necessary to remove ancestor filings." ) return row_list
Remove amended filings from the provided list of records.
Remove amended filings from the provided list of records .
"""Remove amended filings from the provided list of records.

        Args:
            row_list (list): A list of clean rows of data.

        Returns: A list of cleaned data, minus amended records.
        """
self
row_list
typing.List[typing.Dict]
A list of clean rows of data.
A list of clean rows of data .