Closed Ben-Epstein closed 6 days ago
@izeigerman Should "variables can be accessed using kwargs" be "variables CANNOT be accessed using kwargs" here?
If i remove the *, then it passes through as expected.
I guess that's the core issue here.
@treysp not sure how kwargs
are relevant.
With a model defined as
if I set a variable in my config
it won't get passed through, even though sqlmesh specifies that these are always passed as keyword-only arguments.
If i remove the
*
, then it passes through as expected. I think this would be nice functionality to add because it allows python models to be represented semantically correctly, mapping to how they are used