Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support numpy-style interface for methods and factory functions. #11

Open
tglarner opened this issue Mar 28, 2019 · 1 comment
Open

Comments

@tglarner
Copy link
Member

tglarner commented Mar 28, 2019

The discussion in pull request #10 lead to this issue: The API should support method and function calls in the style of numpy, i.e.

def op(self, (d1, d2, ,...), *args):
    ...

and

def op((d1, d2, ...), *args):
    ...

This is different to the current API, which looks like

def op(self, *datasets):
    ....

and

def op(*datasets):
    ...

respectively.

@tglarner
Copy link
Member Author

PR #12 adresses this issue for concatenate by allowing both styles.

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

No branches or pull requests

1 participant