Skip to content

Commit

Permalink
add getDeviceInitializationState to type stub (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
tlambert03 authored Oct 20, 2023
1 parent 6b6ac7b commit af66125
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pymmcore/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ DeviceType = int
PropertyType = int
FocusDirection = int
DeviceDetectionStatus = int
DeviceInitializationState = int

class CMMCore:
def __init__(self) -> None: ...
Expand Down Expand Up @@ -693,6 +694,8 @@ class CMMCore:
"""Initialize circular buffer based on the current camera settings."""
def initializeDevice(self, label: str) -> None:
"""Initializes specific device."""
def getDeviceInitializationState(self, label: str) -> DeviceInitializationState:
"""Queries the initialization state of the given device."""
def isBufferOverflowed(self) -> bool:
"""Indicates whether the circular buffer is overflowed"""
def isConfigDefined(self, groupName: str, configName: str) -> bool:
Expand Down

0 comments on commit af66125

Please sign in to comment.