-
Notifications
You must be signed in to change notification settings - Fork 393
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix codegen of python scoped objects to handle mixed-scope imports (#…
…5026) ### What Previously importing scopes would overlay the `datatypes` / `components`. We now just import the scope and instead adjust the references. This allows an archetype to contain both "regular" components as well as blueprint components. ### Checklist * [x] I have read and agree to [Contributor Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md) * [x] I've included a screenshot or gif (if applicable) * [x] I have tested the web demo (if applicable): * Using newly built examples: [app.rerun.io](https://app.rerun.io/pr/5026/index.html) * Using examples from latest `main` build: [app.rerun.io](https://app.rerun.io/pr/5026/index.html?manifest_url=https://app.rerun.io/version/main/examples_manifest.json) * Using full set of examples from `nightly` build: [app.rerun.io](https://app.rerun.io/pr/5026/index.html?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json) * [x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG - [PR Build Summary](https://build.rerun.io/pr/5026) - [Docs preview](https://rerun.io/preview/6a0878c81c8253740c84d56d317febcb6f67aa95/docs) <!--DOCS-PREVIEW--> - [Examples preview](https://rerun.io/preview/6a0878c81c8253740c84d56d317febcb6f67aa95/examples) <!--EXAMPLES-PREVIEW--> - [Recent benchmark results](https://build.rerun.io/graphs/crates.html) - [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
- Loading branch information
Showing
6 changed files
with
96 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
49 changes: 24 additions & 25 deletions
49
rerun_py/rerun_sdk/rerun/blueprint/archetypes/container_blueprint.py
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
15 changes: 9 additions & 6 deletions
15
rerun_py/rerun_sdk/rerun/blueprint/archetypes/plot_legend.py
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
37 changes: 18 additions & 19 deletions
37
rerun_py/rerun_sdk/rerun/blueprint/archetypes/space_view_blueprint.py
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.