Is there a solution that we can display the worker types based on spark version selection using api?

div19882021
New Contributor

Is there a solution that allows us to display the worker types or driver types based on the selection of Spark version using an api?