Repository navigation
Fixes merge bug - #4867
Merged
Merged
Fixes merge bug#4867
Conversation
kellyguo11
approved these changes
Mar 7, 2026
Contributor
Greptile SummaryThis PR fixes a dependency regression introduced during the Key changes:
Confidence Score: 5/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant Script as play.py / train.py
participant PkgInit as isaaclab_rl.rsl_rl.__init__
participant LazyExport as lazy_export()
participant Stub as __init__.pyi
participant SubMod as rsl_rl submodules
participant IsaacEnvs as isaaclab.envs
Script->>PkgInit: import isaaclab_rl.rsl_rl
PkgInit->>LazyExport: lazy_export()
LazyExport->>Stub: lazy_loader.attach_stub(__init__.pyi)
Stub-->>LazyExport: symbol map (RslRlVecEnvWrapper, handle_deprecated_rsl_rl_cfg, ...)
LazyExport-->>PkgInit: sets __getattr__, __dir__, __all__ on module
Note over PkgInit,SubMod: submodules NOT imported yet
Script->>PkgInit: access RslRlVecEnvWrapper
PkgInit->>SubMod: __getattr__ triggers import of vecenv_wrapper
SubMod-->>Script: RslRlVecEnvWrapper
alt env is DirectMARLEnvCfg
Script->>IsaacEnvs: from isaaclab.envs import multi_agent_to_single_agent
IsaacEnvs-->>Script: multi_agent_to_single_agent
Script->>Script: env = multi_agent_to_single_agent(env)
else env is not DirectMARLEnvCfg
Note over Script,IsaacEnvs: multi_agent_to_single_agent never imported
end
Last reviewed commit: 36bffd3 |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR fixes dependency issue introduced in merging rsl_Rl
Fixes # (issue)
Type of change
Screenshots
Please attach before and after screenshots of the change if applicable.
Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there