Passing variables in to spacy project run #7734
-
Is there a way to pass in a var value when invoking a command or workflow with spacy project run? Our spaCy 3 projects have a
And related to this, is there a way to use environment variables? For example, in CI/CD jobs, I want to publish packaged modules to a PyPi registry using variables provided in the CI/CD environment. Here's an example of a command using environment variables to construct the PyPi repository URL.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Ah, looking at the code, it turns out it's possible to do config overrides. The following works for me.
|
Beta Was this translation helpful? Give feedback.
-
Environment variables are possible using
|
Beta Was this translation helpful? Give feedback.
Ah, looking at the code, it turns out it's possible to do config overrides. The following works for me.