Hello! Is there a way to install only the prefect python client? I am writing some tooling that calls the prefect api and I prefer using the client instead of manually making http calls to the api. Thanks!
✅ 1
z
Zanie
10/06/2022, 3:31 AM
Not yet! There was an issue requesting it and we don’t have the bandwidth to separate it into a separate package right now. We’re interested in pursing this in the future though.
Zanie
10/06/2022, 3:32 AM
Someone was also looking into generating a client via the server’s OpenAPI specification
p
Paco Ibañez
10/06/2022, 3:39 AM
thanks for your response!
z
Zanie
10/06/2022, 3:44 AM
Which dependencies are too heavy for your use-case? Just wondering.
p
Paco Ibañez
10/06/2022, 3:51 AM
nothing in particular, I noticed a bunch of packages like docker, kubernetes etc so I was wondering if I could only install the client. Not a big deal, I like the client a lot and I will just install the whole prefect package for now. Thanks!
z
Zanie
10/06/2022, 3:53 AM
👍 makes sense. We’re also considering moving Docker/Kubernetes to be optional or based in “collections” but they’re pretty important to most users so it’s nice to have them in the core install.
Zanie
10/06/2022, 3:54 AM
We shouldn’t import them until you use a feature that requires them (like actually call a function for the feature), so they’re a little lighter than they could be.