(cls)
return cls._instance
Return a globally shared loader instance. Can be used to save up memory across check instances.
Return a globally shared loader instance. Can be used to save up memory across check instances.
Return a globally shared loader instance . Can be used to save up memory across check instances .
def shared_instance(cls):
        # type: () -> MIBLoader
        """
        Return a globally shared loader instance. Can be used to save up memory across check instances.
        """
        if not hasattr(cls, "_instance"):
            cls._instance = MIBLoader()  # type: ignore
        return cls._instance
def shared_instance ( cls ) : # type: () -> MIBLoader if not hasattr ( cls , "_instance" ) : cls . _instance = MIBLoader ( ) # type: ignore return cls . _instance