-
Notifications
You must be signed in to change notification settings - Fork 285
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
Python & JavaScript CLI #1201
Python & JavaScript CLI #1201
Conversation
Why not Rust? Binary distributable would make life easier. |
Thought about it. The easiest way to distribute a CLI in the Rust world is with |
Right, but we'd have to implement it in each language to accomplish what you're stating with this Python first approach. This method excludes Rust & JS, whereas we could follow the same Rust first method, and get Python/JS distribution for relatively free with the same behavior on all runtimes. |
i.e. all SDKs should have a CLI, and the logic for the CLI should be implemented in the core Rust version. |
Take a look at the PR, the pieces are all there. The only reason I scoped this to Python is because I know how to make the module callable. In JS, I need to do some research. |
connect
, which creates a Postgres FDW connection from a PostgresML db to another PostgreSQL database.PGML_CHECKOUT_TIMEOUT
environment variable to control how long we wait for a connection in the SDK pool. Default: 5 seconds. This includes connect timeout for new pools.cargo fmt
.