src/QuoteEngine/IngestorInterface.py
def can_ingest(cls, path: str) -> bool:
        """
        Check if the file can be parsed
        
        :param path: Path of the file.
        :return: Whether or not the file can be parsed.
        """
        
        extension = path.split('.')[-1]
        
        return extension in cls.allowed_extensions

        Check if the file can be parsed
        
        :param path: Path of the file.
        :return: Whether or not the file can be parsed.
        
Check if the file can be parsed
Check if the file can be parsed
def can_ingest(cls, path: str) -> bool:
        extension = path.split('.')[-1]
        return extension in cls.allowed_extensions
def can_ingest ( cls , path : str ) -> bool : extension = path . split ( '.' ) [ - 1 ] return extension in cls . allowed_extensions
Check if the file can be parsed
Check if the file can be parsed
"""
        Check if the file can be parsed
        
        :param path: Path of the file.
        :return: Whether or not the file can be parsed.
        """
Whether or not the file can be parsed.
Whether or not the file can be parsed .
cls
path
str
Path of the file.
Path of the file .