pyaz/synapse/spark/session/__init__.py
def list(spark_pool_name, workspace_name, from_index=None, size=None):
    '''
    List all Spark sessions.

    Required Parameters:
    - spark_pool_name -- The name of the Spark pool.
    - workspace_name -- The name of the workspace.

    Optional Parameters:
    - from_index -- Optional parameter specifying which index the list should begin from.
    - size -- The size of the returned list.By default it is 20 and that is the maximum.
    '''
    return _call_az("az synapse spark session list", locals())

    List all Spark sessions.

    Required Parameters:
    - spark_pool_name -- The name of the Spark pool.
    - workspace_name -- The name of the workspace.

    Optional Parameters:
    - from_index -- Optional parameter specifying which index the list should begin from.
    - size -- The size of the returned list.By default it is 20 and that is the maximum.
    
List all Spark sessions.
Required Parameters:
spark_pool_name -- The name of the Spark pool.
workspace_name -- The name of the workspace.

Optional Parameters:
from_index -- Optional parameter specifying which index the list should begin from.
size -- The size of the returned list.By default it is 20 and that is the maximum.
List all Spark sessions . Required Parameters : spark_pool_name -- The name of the Spark pool . workspace_name -- The name of the workspace . Optional Parameters : from_index -- Optional parameter specifying which index the list should begin from . size -- The size of the returned list . By default it is 20 and that is the maximum .
def list(spark_pool_name, workspace_name, from_index=None, size=None):
    return _call_az("az synapse spark session list", locals())
def list ( spark_pool_name , workspace_name , from_index = None , size = None ) : return _call_az ( "az synapse spark session list" , locals ( ) )
List all Spark sessions.
List all Spark sessions .
'''
    List all Spark sessions.

    Required Parameters:
    - spark_pool_name -- The name of the Spark pool.
    - workspace_name -- The name of the workspace.

    Optional Parameters:
    - from_index -- Optional parameter specifying which index the list should begin from.
    - size -- The size of the returned list.By default it is 20 and that is the maximum.
    '''
spark_pool_name
workspace_name
from_index
size