leaf_focus/download/crawl/item.py
def load(cls, path: Path):
        """Load file items from a file."""
        with open(path, "rt", encoding="utf8") as f:
            reader = csv.DictReader(f)
            for row in reader:
                yield Item(**row)
Load file items from a file.
Load file items from a file.
Load file items from a file .
def load(cls, path: Path):
        with open(path, "rt", encoding="utf8") as f:
            reader = csv.DictReader(f)
            for row in reader:
                yield Item(**row)
def load ( cls , path : Path ) : with open ( path , "rt" , encoding = "utf8" ) as f : reader = csv . DictReader ( f ) for row in reader : yield Item ( ** row )
Load file items from a file.
Load file items from a file .
"""Load file items from a file."""
cls
path
Path