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_TIMEOUTenvironment 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.