Skip to content

Commit

Permalink
that's not a thing anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
teh-cmc committed Jan 15, 2025
1 parent 68bf5a0 commit 6c438ee
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
10 changes: 0 additions & 10 deletions crates/build/re_types_builder/src/codegen/python/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2520,16 +2520,6 @@ fn quote_partial_update_methods(reporter: &Reporter, obj: &Object, objects: &Obj
let field_name = field.snake_case_name();
format!("'{field_name}': {field_name}")
})
.chain(
// For `Transform3D` and `Transform3D` only, we feel it is more natural for the
// (extended/custom) constructor to have `clear_fields` semantics by default (`clear=True`).
// This makes sure that when `Transform3D.update_fields()` calls into `Transform3D.init()`,
// those clear semantics are not applied.
std::iter::once(
(obj.fqname == "rerun.archetypes.Transform3D").then(|| "'clear': False".to_owned()),
)
.flatten(),
)
.collect_vec()
.join(", ");

Expand Down
1 change: 0 additions & 1 deletion rerun_py/rerun_sdk/rerun/archetypes/transform3d.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 6c438ee

Please sign in to comment.