Skip to content

Commit a1a9c0a

Browse files
committed
Update pyrogue python files
1 parent 25e9240 commit a1a9c0a

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

python/pyrogue/_Block.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -262,10 +262,10 @@ def __init__(
262262
self,
263263
*,
264264
variable: pr.LocalVariable,
265-
localSet: Callable[..., Any] | None,
266-
localGet: Callable[..., Any] | None,
267-
minimum: Any | None,
268-
maximum: Any | None,
265+
localSet: Optional[Callable[..., Any]],
266+
localGet: Optional[Callable[..., Any]],
267+
minimum: Optional[Any],
268+
maximum: Optional[Any],
269269
value: Any,
270270
) -> None:
271271
self._path = variable.path

python/pyrogue/_Root.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
import threading
2323
import logging
2424
import pyrogue as pr
25-
import pyrogue.interfaces.stream
2625
import functools as ft
2726
import time
2827
import queue

python/pyrogue/_RunControl.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
# copied, modified, propagated, or distributed except according to the terms
1313
# contained in the LICENSE.txt file.
1414
#-----------------------------------------------------------------------------
15+
from __future__ import annotations
16+
1517
import threading
1618
import time
1719
from typing import Any, Callable, Optional

0 commit comments

Comments
 (0)