(self)
Download 'em all.
Download 'em all.
Download em all .
def download_everything(self):
        """
        Download 'em all.
        """
        for geo in self.GEOTYPE_LIST:
            print(geo)
            # Get the downloader function
            dl = getattr(self, f"download_{geo}", None)
            # Validate it
            if not dl or not callable(dl):
                raise NotImplementedError(f"Invalid geography type: {geo}")
            # Run it
            try:
                dl()
            except NotImplementedError:
                pass
def download_everything ( self ) : for geo in self . GEOTYPE_LIST : print ( geo ) # Get the downloader function dl = getattr ( self , f"download_{geo}" , None ) # Validate it if not dl or not callable ( dl ) : raise NotImplementedError ( f"Invalid geography type: {geo}" ) # Run it try : dl ( ) except NotImplementedError : pass