(self, name: str, *args, **kwargs)
This was deprecated in v0.18 in favor of adapter.dispatch
This was deprecated in v0.18 in favor of adapter.dispatch
This was deprecated in v0 . 18 in favor of adapter . dispatch
def adapter_macro(self, name: str, *args, **kwargs):
        """This was deprecated in v0.18 in favor of adapter.dispatch
        """
        msg = (
            'The "adapter_macro" macro has been deprecated. Instead, use '
            'the `adapter.dispatch` method to find a macro and call the '
            'result.  For more information, see: '
            'https://docs.getdbt.com/reference/dbt-jinja-functions/dispatch)'
            ' adapter_macro was called for: {macro_name}'
            .format(macro_name=name)
        )
        raise CompilationException(msg)
def adapter_macro ( self , name : str , * args , * * kwargs ) : msg = ( 'The "adapter_macro" macro has been deprecated. Instead, use ' 'the `adapter.dispatch` method to find a macro and call the ' 'result.  For more information, see: ' 'https://docs.getdbt.com/reference/dbt-jinja-functions/dispatch)' ' adapter_macro was called for: {macro_name}' . format ( macro_name = name ) ) raise CompilationException ( msg )