Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detach WatchableStatus from Status and Remove LogLevel Literal #225

Closed
wants to merge 3 commits into from

Conversation

callumforrester
Copy link
Contributor

@callumforrester callumforrester commented May 23, 2023

Pending bluesky/bluesky#1585

Required because of an issue with the backwards-compatible way in which Bluesky imports protocols.

LogLevel literal was removed and replaced with a string because pydantic has issues with Literal because it is actually a function, not a class.

@codecov
Copy link

codecov bot commented May 23, 2023

Codecov Report

Merging #225 (d201e90) into main (bd2f989) will increase coverage by 0.12%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #225      +/-   ##
==========================================
+ Coverage   89.07%   89.20%   +0.12%     
==========================================
  Files          40       40              
  Lines        1126     1121       -5     
==========================================
- Hits         1003     1000       -3     
+ Misses        123      121       -2     
Impacted Files Coverage Δ
src/blueapi/core/__init__.py 100.00% <ø> (ø)
src/blueapi/config.py 96.29% <100.00%> (-0.07%) ⬇️
src/blueapi/core/bluesky_types.py 93.75% <100.00%> (+4.86%) ⬆️
src/blueapi/worker/reworker.py 90.17% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@callumforrester callumforrester changed the title Detach WatchableStatus from Status Detach WatchableStatus from Status and Remove LogLevel Literal May 23, 2023
@callumforrester callumforrester requested review from rosesyrett and DiamondJoseph and removed request for rosesyrett May 23, 2023 09:33
@DiamondJoseph
Copy link
Contributor

For reference pydantic/pydantic#5821

@DiamondJoseph
Copy link
Contributor

Do we want an issue to revert this once the above is fixed?

@callumforrester
Copy link
Contributor Author

In favour of #226

@DiamondJoseph DiamondJoseph deleted the fix-310 branch September 5, 2024 10:32
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.

2 participants