def METHOD_NAME(self):
    self._desired_states = defaultdict(State)
    for namespace in self._namespaces:
        for provider in namespace.external_resources or []:
            # TODO: this should probably be filtered within the query already
            if not isinstance(provider, NamespaceCNAssetV1):
                continue
            for resource in provider.resources or []:
                self._desired_states[provider.provisioner.name].add_asset(
                    asset_factory_from_schema(resource)
                )