• Mayank Mittal's avatar
    Simplifies the return type for `parse_env_cfg` method (#965) · 5e84450c
    Mayank Mittal authored
    # Description
    
    Previously, the returned config object for `parse_env_cfg` mentioned the
    dictionary. However, this is hardly used or supported in our workflows
    code. This MR simplifies the return type to only be an instance of
    manager-based or direct environment configuration classes. Doing so,
    also cleans the code a bit by removing the need of explicit
    type-hinting.
    
    ## Type of change
    
    - Breaking change (fix or feature that would cause existing
    functionality to not work as expected)
    
    ## 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
    - [ ] 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
    
    ---------
    Signed-off-by: 's avatarMayank Mittal <12863862+Mayankm96@users.noreply.github.com>
    5e84450c
test_environments.py 4.84 KB