question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[SPRINT] Functions with *args can now have explicit keyword args

See original GitHub issue

Please do not address this issue unless you’re part of the sprint (June 6th 2020).

Functions like resample have a signature like def resample(*arrays, **options) because of a limitation of python 2, where named keyword arguments could not be used with variable number of positional argument. We now should be using explicit keyword arguments where possible.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:13 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
thomasjpfancommented, Jun 6, 2020

@JosephTLucas Let’s do shuffle first. It would make it easier to review and it would be a good way to get started.

1reaction
thomasjpfancommented, Jun 17, 2020

Other others are:

  • make_pipeline
  • make_union
  • shuffle
  • make_column_transformer
Read more comments on GitHub >

github_iconTop Results From Across the Web

Combine explicit keyword arguments and **kwargs
How can I get the best of both worlds? I'd like to write an explicit function signature, but still get a kwargs dict...
Read more >
The Use and Abuse of Keyword Arguments in Python
The long list of args is only defined in the constructor to that class, and a single option argument can be passed to...
Read more >
What are args and kwargs and when to use them
The first works for arguments in a certain order, while the latter works for keyword-arguments. After reading the above sections, you can be ......
Read more >
Advanced search reference - JQL functions | Jira Software Cloud
Your reference for functions used for advanced searching in Jira applications using Jira Query Language (JQL).
Read more >
sprintf - Manual - PHP
?> We now have a problem. The order of the placeholders in the format string does not match the order of the arguments...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found