Skip to content

Commit 8af3430

Browse files
author
aman
committed
Update to API 0.13.1 shipped with BodyLoop 26.1-beta-3, manually patched
1 parent 7c590cc commit 8af3430

56 files changed

Lines changed: 864 additions & 11487 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ Thumbs.db
4242

4343
## API generator
4444
.ruff_cache/
45-
openapi.json
46-
openapi.codegen.json
45+
openapi*.json
4746

4847
.env

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,14 @@ from bodyloop import Viatar, Proband
3030
from bodyloop import ScanUnit
3131
```
3232

33+
## Posture Analysis
34+
35+
Run a dashboard via:
36+
37+
```bash
38+
uv run python docs/notebooks/05-posture-analysis/01-three-views.py
39+
```
40+
3341
## Contribute
3442

3543
Local workflow
@@ -69,6 +77,21 @@ uv run experiments/a_create_client.py
6977
uv run experiments/b_load_probands.py
7078
```
7179

80+
## Release Procedure
81+
82+
- Make sure that you are on the `main` branch and that all changes are committed and pushed.
83+
- Create a new tag `vYYYY.MM.DD.r` where `YYYY.MM.DD` is the current date and `r` is the sequential release number we increment over all releases, independent of the date and push the tag as well.
84+
85+
```bash
86+
git checkout main
87+
git pull origin main
88+
89+
git tag | tail 1
90+
91+
git tag v2026.04.13.2
92+
git push --tags
93+
```
94+
7295
## License
7396

7497
See [LICENSE](LICENSE)

generate-api-client.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ mv openapi.json openapi_tmp.json && jq . openapi_tmp.json > openapi.json && rm o
1111
mkdir -p src/bodyloop_sdk/api
1212

1313
# Normalize OpenAPI for openapi-python-client compatibility
14-
uv run python scripts/prepare_openapi_for_codegen.py --input openapi.json --output openapi.codegen.json
14+
# uv run python scripts/prepare_openapi_for_codegen.py --input openapi.json --output openapi.codegen.json
1515

16-
uv run --with openapi-python-client python -m openapi_python_client generate --overwrite --config generate-api-client.yml --path openapi.codegen.json --output-path src/bodyloop_sdk
16+
uv run --with openapi-python-client python -m openapi_python_client generate --overwrite --config generate-api-client.yml --path openapi.json --output-path src/bodyloop_sdk
1717

1818
mv src/bodyloop_sdk/README.md src/bodyloop_sdk/client/
1919

0 commit comments

Comments
 (0)