Skip to content

Conversation

AllenFang
Copy link

Since we use uv to manage the py package and virtual env, so suggest to use uv to executing client generation for avoiding the packages or python command not found,

Copy link

@YuriiMotov YuriiMotov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@AllenFang, thanks for your interest!

What if instead of replacing existing command we add alternative?


If your backend virtual environment is already activated, run:

./scripts/generate-client.sh

Alternatively, to ensure the virtual environment is used even if it’s not activated, run:

VIRTUAL_ENV=./backend/.venv uv run bash scripts/generate-client.sh

@YuriiMotov YuriiMotov changed the title suggest to use uv to run the generate client command 📝 Add an example of command to run the generate-client.sh with uv Sep 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants