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

Remove json.dumps in mysqlsh argument calls #215

Open
carlcsaposs-canonical opened this issue May 23, 2023 · 1 comment
Open

Remove json.dumps in mysqlsh argument calls #215

carlcsaposs-canonical opened this issue May 23, 2023 · 1 comment

Comments

@carlcsaposs-canonical
Copy link
Contributor

I don't think mysqlsh expects JSON syntax—I think it expects Python syntax

JSON syntax works in this instance, but if a boolean value were passed I believe this would fail

I think f"cluster.rescan({options})" would work in all cases for mysqlsh arguments (not for SQL statements though)

Originally posted by @carlcsaposs-canonical in #214 (comment)

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