def METHOD_NAME(self, init_data: dict):
    if not self._validate:
        # fix pydantic aliases
        init_data['credentials'] = []
        for ns_cred in init_data.pop('path', []):
            init_data['credentials'].append(
                CredFileNamespaceModel(**ns_cred)
            )
    super().METHOD_NAME(init_data)
    if not self._data.credentials:
        raise InventorySourceError(f'{self.name} empty credentials')