Skip to content

Add super-state-machine as direct dependency - #554

Merged
joeshannon merged 1 commit into
mainfrom
553-super-state-machine-dep
Jul 10, 2024
Merged

joeshannon merged 1 commit into
mainfrom
553-super-state-machine-dep

Conversation

@joeshannon

Copy link
Copy Markdown
Contributor

This was previously available as a transitive dependency from bluesky but has now been removed (bluesky/bluesky#1708).

This is a temporary workaround to make the build work again and may be reverted if the types are made available from bluesky in future.

See #553.

This was previously available as a transitive dependency from bluesky
but has now been removed (bluesky/bluesky#1708).

This is a temporary workaround to make the build work again and may be
reverted if the types are made available from bluesky in future.

See #553.
@codecov

codecov Bot commented Jul 10, 2024

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.32%. Comparing base (97b43ce) to head (328d6b4).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #554   +/-   ##
=======================================
  Coverage   91.32%   91.32%           
=======================================
  Files          41       41           
  Lines        1880     1880           
=======================================
  Hits         1717     1717           
  Misses        163      163           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@callumforrester

Copy link
Copy Markdown
Contributor

I think this is the right thing to do, I think we also need to raise an issue with bluesky to either expose these types publically or completely remove them and make the RE state a str or Enum or similar.

This is only used for type annotations, i.e. the thing returned by RE.state may be a super-state-machine type, which is why we need them, so we can properly annotate our code when we ask the run engine for its state

@joeshannon
joeshannon merged commit 84c39cf into main Jul 10, 2024
@joeshannon
joeshannon deleted the 553-super-state-machine-dep branch July 10, 2024 12:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants