You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
python-client-from-templates: VERSION validate-api-specification artifacts_dir ## generate python client using templates in a specified directory (usage: 'make python-client-from-templates -e TEMPLATE_DIR=path/to/templates')
@@ -63,14 +79,11 @@ python-client-from-templates: VERSION validate-api-specification artifacts_dir #
63
79
--package-name=osparc_client \
64
80
--release-note="Updated to $(VERSION)"\
65
81
--template-dir=/tmp/python_templates
66
-
$(MAKE)postprocess-build
82
+
$(MAKE)_postprocess_osparc_client_artifacts
67
83
68
-
.PHONY: generator-help
69
-
generator-help: ## help on client-api generator
70
-
# generate help
71
-
@docker run --rm $(OPENAPI_GENERATOR_IMAGE)help generate
72
84
73
-
## Tools for "postprocessing" generated documentation --------------------------------------------
Copy file name to clipboardExpand all lines: clients/python/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ Changes to the client should not be performed within the generated python code,
20
20
Tests are located in `PYDIR/test_osparc` and `PYDIR/test_osparc_client`. They can be run by executing the following commands from PYDIR:
21
21
```bash
22
22
make install-test
23
-
make test-dev
23
+
make tests
24
24
```
25
25
after the client has been generated (see the [workflow section](#workflow)). These tests should test the user-facing API. Jupyter notebooks in the PYDIR/docs folder are automatically run as part of the tests via `test_notebooks.py`. Hence, when writing a tutorial jupyter script, also think of it as a test. For this reason, any import of `osparc` in the notebook should be "guarded" by a `if importlib.util.find_spec('osparc') is None:` statement (see the [BasicTutorial](./docs/BasicTutorial.ipynb))
0 commit comments