code: async def get_resources(self):
          
          facade = client.ResourcesFacade.from_connection(self.connection)
          response = await facade.ListResources([client.Entity(self.tag)])
  
          resources = dict()
          for result in response.results:
              for resource in result.charm_store_resources or []:
                  resources[resource.name] = resource
              for resource in result.resources or []:
                  if resource.charmresource:
                      resource = resource.charmresource
                      resources[resource.name] = resource
          return resources
docs: Return resources for this application.
  
          Returns a dict mapping resource name to
          :class:`~juju._definitions.CharmResource` instances.