code: def _copy_resources(self):
          
  
          for resource in self._client._resources:
              # set the name param, the keys now have / in them
              potion_resource = self._client._resources[resource]
  
              try:
                  oc_cls = _model_lookup[resource]
                  oc_cls._api = self
                  oc_cls._resource = potion_resource
                  setattr(self, oc_cls.__name__, oc_cls)
              except KeyError:  # Ignore resources we don't explicitly model
                  pass
docs: Copy all of the resources over to the toplevel client
  
          -return: populates self with a pointer to each ._client.Resource