Skip to content

Args & Kwargs - Support Both #1

Description

@anshum4n-git

Currently, because of the way we parse named parameters, it doesn't support passing args.

# query.py
@functools.wraps(func)
def wrapper(**kwargs: Any) -> Any:

We do this because we need named parameters for passing to jinja sql. However, given we have access to function spec, even args should be parseable to named parameters.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions