Skip to content

Commit 3effc22

Browse files
authored
Update type hints in _qsharp.py for older python support (#947)
1 parent 253c2c8 commit 3effc22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pip/qsharp/_qsharp.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def __repr__(self) -> str:
3232
# Editor services that interact with the notebook frontend
3333
# (i.e. the language service) can read and interpret the data.
3434
def _repr_mimebundle_(
35-
self, include: Any | None = None, exclude: Any | None = None
35+
self, include: Union[Any, None] = None, exclude: Union[Any, None] = None
3636
) -> Dict[str, Dict[str, str]]:
3737
return {"application/x.qsharp-config": self._config}
3838

0 commit comments

Comments
 (0)