Skip to content

Handle kwargs passed to js functions #45

Open

Description

@YarnSaw

Ticket to track thoughts on the conversation under #42 (comment).

Actual plan hasn't been decided yet.

Activity

  1. JosephAcernese commented on Apr 23, 2026

    @JosephAcernese
    Contributor

    To try to summarize:

    This leaves one main question, will Bifrost2 ever want users to pass keyword args to dcp-client?

    • If the answer is no, kwargs should likely be removed from generic wrappers
      • This future-proofs it from any PythonMonkey changes to kwargs
      • kwargs passed to functions will TypeError, which is better for users than silently ignoring them
    • If the answer is yes, kwargs will need to be unwrapped similarly to args
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