que/query.py
def for_sql(
        self, style: ParamStyleType = DEFAULT_PARAM_STYLE
    ) -> Union[Dict[str, Any], List[Any]]:
        """Output the list of args in the appropriate format for the param-style.

        Parameters
        ----------
        style :
            The enum selection which matches your param-style.
        """
        if style in NameParamStyle:
            return self.asdict()
        return self.aslist()
Output the list of args in the appropriate format for the param-style.

        Parameters
        ----------
        style :
            The enum selection which matches your param-style.
        
Output the list of args in the appropriate format for the param-style.
Parameters

style :
The enum selection which matches your param-style.
Output the list of args in the appropriate format for the param - style . Parameters style : The enum selection which matches your param - style .
def for_sql(
        self, style: ParamStyleType = DEFAULT_PARAM_STYLE
    ) -> Union[Dict[str, Any], List[Any]]:
        if style in NameParamStyle:
            return self.asdict()
        return self.aslist()
def for_sql ( self , style : ParamStyleType = DEFAULT_PARAM_STYLE ) -> Union [ Dict [ str , Any ] , List [ Any ] ] : if style in NameParamStyle : return self . asdict ( ) return self . aslist ( )
Output the list of args in the appropriate format for the param-style.
Output the list of args in the appropriate format for the param - style .
"""Output the list of args in the appropriate format for the param-style.

        Parameters
        ----------
        style :
            The enum selection which matches your param-style.
        """
self
style
ParamStyleType