Skip to content

Conversation

@janosh
Copy link
Collaborator

@janosh janosh commented May 14, 2025

add from torch_sim.state import SimState in torch_sim/__init__.py. makes SimState accessible as

import torch_sim as ts

ts.SimState

for better ergonomics. related PR (as in should maybe have been part of) #52

@janosh janosh added ux User experience pkg Packaging labels May 14, 2025
@cla-bot cla-bot bot added the cla-signed Contributor license agreement signed label May 14, 2025
@janosh janosh force-pushed the top-level-simstate branch from 5bc5a3f to 5a81c17 Compare May 14, 2025 20:43
@janosh janosh requested a review from CompRhys May 14, 2025 20:50
Copy link
Member

@CompRhys CompRhys left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't really have a strong opinion here and this isn't a breaking change as far as I understand as it adds a convenience import so LGTM.

@janosh janosh self-assigned this May 14, 2025
@janosh janosh merged commit 6440b56 into main May 14, 2025
4 checks passed
@janosh janosh deleted the top-level-simstate branch May 14, 2025 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed Contributor license agreement signed pkg Packaging ux User experience

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants