class_docstr: Describe the name and the different resource components of a slot sharing group.
docstr: Gets the CPU cores for this SlotSharingGroup.
  
   :return: The CPU cores of the SlotSharingGroup.
   
docstr_tok: ["Gets","the","CPU","cores","for","this","SlotSharingGroup",".",":","return",":","The","CPU","cores","of","the","SlotSharingGroup","."]
code: def get_cpu_cores(self) -> Optional[float]:
      """
      Gets the CPU cores for this SlotSharingGroup.
  
       :return: The CPU cores of the SlotSharingGroup.
      """
      cpu_cores = self._j_slot_sharing_group.getCpuCores()
      return cpu_cores.get() if cpu_cores.isPresent() else None
  
imports: from typing import Optional
  from pyflink.java_gateway import get_gateway
label_desc: Use image node_id 6 for calling the SlotSharingGroup obj's underlying member method code with example usage: obj.get_cpu_cores() and returns: unknown