parameters: (self)
return_statement: return kernel_specs
docstring: Get a list of kernel specs.
docstring_summary: Get a list of kernel specs.
docstring_tokens: Get a list of kernel specs .
function: async def list_kernel_specs(self):
          """Get a list of kernel specs."""
          kernel_spec_url = self._get_kernelspecs_endpoint_url()
          self.log.debug("Request list kernel specs at: %s", kernel_spec_url)
          response = await gateway_request(kernel_spec_url, method='GET')
          kernel_specs = json_decode(response.body)
          return kernel_specs
function_tokens: async def list_kernel_specs ( self ) : kernel_spec_url = self . _get_kernelspecs_endpoint_url ( ) self . log . debug ( "Request list kernel specs at: %s" , kernel_spec_url ) response = await gateway_request ( kernel_spec_url , method = 'GET' ) kernel_specs = json_decode ( response . body ) return kernel_specs