code: def _get_choices(self, gandi):
          
          kernel_families = list(gandi.kernel.list().values())
          return [kernel for klist in kernel_families for kernel in klist]
docs: Internal method to get choices list