Skip to content

Fix(dbt): Update dispatch signature to match dbt method#5410

Merged
themisvaltinos merged 1 commit intomainfrom
themis/dispatch_signature_fix
Sep 18, 2025
Merged

Fix(dbt): Update dispatch signature to match dbt method#5410
themisvaltinos merged 1 commit intomainfrom
themis/dispatch_signature_fix

Conversation

@themisvaltinos
Copy link
Contributor

This aligns the parameter names to ensure compatibility when using adapter.dispatch() with keyword arguments. The dispatch method in dbt uses macro_namespace and macro_name as parameters for example:

{% macro my_macro(arg1, arg2) -%}
  {{ return(adapter.dispatch(macro_name='my_macro', macro_namespace='package_1')(arg1, arg2)) }}
{%- endmacro %}

Dbt docs: https://docs.getdbt.com/reference/dbt-jinja-functions/dispatch

@themisvaltinos themisvaltinos requested a review from a team September 18, 2025 20:33
@themisvaltinos themisvaltinos merged commit 087dffb into main Sep 18, 2025
36 checks passed
@themisvaltinos themisvaltinos deleted the themis/dispatch_signature_fix branch September 18, 2025 21:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants