• Kelly Guo's avatar
    Fixes updating configclass parameter with a list of objects (#847) · ad4ec6e5
    Kelly Guo authored
    # Description
    
    When configclass dicts are nested inside lists, the list is treated as
    an Iterable object and assigned directly to the outer configclass when
    updating configclass data with dicts. This overwrites the configclass
    object in the list with a dict object and causes undesired behavior.
    
    This change checks for nested dictionaries inside Iterables and updates
    the values inside the dictionary individually without overwiting the
    full Iterable.
    
    Fixes https://github.com/isaac-sim/IsaacLab/issues/843
    
    ## Type of change
    
    - Bug fix (non-breaking change which fixes an issue)
    
    
    ## Checklist
    
    - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
    `./isaaclab.sh --format`
    - [x] I have made corresponding changes to the documentation
    - [x] My changes generate no new warnings
    - [x] I have added tests that prove my fix is effective or that my
    feature works
    - [ ] I have updated the changelog and the corresponding version in the
    extension's `config/extension.toml` file
    - [x] I have added my name to the `CONTRIBUTORS.md` or my name already
    exists there
    ad4ec6e5
Name
Last commit
Last update
..
config Loading commit data...
docs Loading commit data...
omni/isaac/lab_tasks Loading commit data...
test Loading commit data...
pyproject.toml Loading commit data...
setup.py Loading commit data...