MCPcopy Create free account
hub / github.com/canonical/cloud-init / fetch

Method fetch

cloudinit/stages.py:561–565  ·  view source on GitHub ↗

optionally load datasource from cache, otherwise discover datasource

(self, existing="check")

Source from the content-addressed store, hash-verified

559 )
560
561 def fetch(self, existing="check"):
562 """optionally load datasource from cache, otherwise discover
563 datasource
564 """
565 return self._get_data_source(existing=existing)
566
567 def instancify(self):
568 return self._reflect_cur_instance()

Calls 1

_get_data_sourceMethod · 0.95