(cls, filename, **kwargs)
Creates an IdentityPool Credentials instance from an external account json file.

        Args:
            filename (str): The path to the IdentityPool external account json file.
            kwargs: Additional arguments to pass to the constructor.

        Returns:
            google.auth.identity_pool.Credentials: The constructed
                credentials.
Creates an IdentityPool Credentials instance from an external account json file.
Creates an IdentityPool Credentials instance from an external account json file .
def from_file(cls, filename, **kwargs):
        """Creates an IdentityPool Credentials instance from an external account json file.

        Args:
            filename (str): The path to the IdentityPool external account json file.
            kwargs: Additional arguments to pass to the constructor.

        Returns:
            google.auth.identity_pool.Credentials: The constructed
                credentials.
        """
        with io.open(filename, "r", encoding="utf-8") as json_file:
            data = json.load(json_file)
            return cls.from_info(data, **kwargs)
def from_file ( cls , filename , * * kwargs ) : with io . open ( filename , "r" , encoding = "utf-8" ) as json_file : data = json . load ( json_file ) return cls . from_info ( data , * * kwargs )