warn_transformer/transformers/in.py
def check_if_closure(self, row: typing.Dict) -> typing.Optional[bool]:
        """Determine whether a row is a closure or not.

        Args:
            row (dict): The raw row of data.

        Returns: A boolean or null
        """
        whitelist = ["CL", "CL -Relocating", "LO and CL", "LO/CL", "PENDING CL"]
        return row["Notice Type"] in whitelist or None
Determine whether a row is a closure or not.

        Args:
            row (dict): The raw row of data.

        Returns: A boolean or null
        
Determine whether a row is a closure or not.
Determine whether a row is a closure or not .
def check_if_closure(self, row: typing.Dict) -> typing.Optional[bool]:
        whitelist = ["CL", "CL -Relocating", "LO and CL", "LO/CL", "PENDING CL"]
        return row["Notice Type"] in whitelist or None
def check_if_closure ( self , row : typing . Dict ) -> typing . Optional [ bool ] : whitelist = [ "CL" , "CL -Relocating" , "LO and CL" , "LO/CL" , "PENDING CL" ] return row [ "Notice Type" ] in whitelist or None
Determine whether a row is a closure or not.
Determine whether a row is a closure or not .
"""Determine whether a row is a closure or not.

        Args:
            row (dict): The raw row of data.

        Returns: A boolean or null
        """
self
row
typing.Dict
The raw row of data.
The raw row of data .