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

%flux -x/--close triggers error #6

Open
Boudewijn26 opened this issue Feb 17, 2023 · 0 comments
Open

%flux -x/--close triggers error #6

Boudewijn26 opened this issue Feb 17, 2023 · 0 comments

Comments

@Boudewijn26
Copy link

Boudewijn26 commented Feb 17, 2023

Running %flux --close <name> triggers a type-error stating descriptor isn't being passed to Connection._close from

return flux.connection.Connection._close(args.close)
. A fix would be to mark Connection._close as @classmethod. That way the cls parameter would filled with Connection and descriptor would actually become the passed argument

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