code: def list_attached_storage_groups(self, full_properties=False):
          
          sg_list = []
          sg_uris = self.get_property('storage-group-uris')
          if sg_uris:
              cpc = self.manager.cpc
              for sg_uri in sg_uris:
                  sg = cpc.storage_groups.resource_object(sg_uri)
                  sg_list.append(sg)
                  if full_properties:
                      sg.pull_full_properties()
          return sg_list
docs: Return the storage groups that are attached to this partition.
  
          The CPC must have the "dpm-storage-management" feature enabled.
  
          Authorization requirements:
  
          * Object-access permission to this partition.
          * Task permission to the "Partition Details" task.
  
          Parameters:
  
            full_properties (bool):
              Controls that the full set of resource properties for each returned
              storage group is being retrieved, vs. only the following short set:
              "object-uri", "object-id", "class", "parent".
  
              TODO: Verify short list of properties.
  
          Returns:
  
            List of :class:`~zhmcclient.StorageGroup` objects representing the
            storage groups that are attached to this partition.
  
          Raises:
  
            :exc:`~zhmcclient.HTTPError`
            :exc:`~zhmcclient.ParseError`
            :exc:`~zhmcclient.AuthError`
            :exc:`~zhmcclient.ConnectionError`