bluesky / ophyd-async

Hardware abstraction for bluesky written using asyncio
https://blueskyproject.io/ophyd-async
BSD 3-Clause "New" or "Revised" License
12 stars 26 forks source link

Split ShapeProvider.dtype from ShapeProvider.__call__ method. #554

Closed DiamondJoseph closed 2 months ago

DiamondJoseph commented 2 months ago

This allows ShapeProvider.call to have a type hint [tuple[int, ...]] and for this to be handled consistently in all cases, where d_type may not be available in the same way as AreaDetectors.