def credential_object_for_type(self, identifier, type):
        if (type == "password"):
            return Credentials(identifier)
        raise NotImplementedError("Credential type '%s' is not supported" % (type))
dataset/ETHPy150Open SalesforceEng/Providence/Empire/creds/__init__.py/CredentialManager.credential_object_for_type/original