async def _list_and_update(self):
    '\n        Update current list of resources by doing a full fetch.\n\n        Overwrites all current resource info.\n        '
    initial_resources = None
    kwargs = dict(label_selector=self.label_selector, field_selector=self.field_selector, _request_timeout=self.request_timeout, _preload_content=False)
    if (not self.omit_namespace):
        kwargs['namespace'] = self.namespace
    list_method = getattr(self.api, self.list_method_name)
    initial_resources_raw = (await list_method(**kwargs))
    initial_resources = json.loads((await initial_resources_raw.read()))
    self.resources = {f"{p['metadata']['namespace']}/{p['metadata']['name']}": p for p in initial_resources['items']}
    if (not self.first_load_future.done()):
        self.first_load_future.set_result(None)
    return initial_resources['metadata']['resourceVersion']
Update current list of resources by doing a full fetch.

Overwrites all current resource info.
async def _list_and_update(self):
    '\n        Update current list of resources by doing a full fetch.\n\n        Overwrites all current resource info.\n        '
    initial_resources = None
    kwargs = dict(label_selector=self.label_selector, field_selector=self.field_selector, _request_timeout=self.request_timeout, _preload_content=False)
    if (not self.omit_namespace):
        kwargs['namespace'] = self.namespace
    list_method = getattr(self.api, self.list_method_name)
    initial_resources_raw = (await list_method(**kwargs))
    initial_resources = json.loads((await initial_resources_raw.read()))
    self.resources = {f"{p['metadata']['namespace']}/{p['metadata']['name']}": p for p in initial_resources['items']}
    if (not self.first_load_future.done()):
        self.first_load_future.set_result(None)
    return initial_resources['metadata']['resourceVersion']