We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aed092f commit ecd44d3Copy full SHA for ecd44d3
src/oracledb/utils.py
@@ -28,7 +28,7 @@
28
# Contains utility classes and methods.
29
# -----------------------------------------------------------------------------
30
31
-from typing import Any, Callable, Union
+from typing import Any, Callable, Optional, Union
32
33
from .arrow_array import ArrowArray
34
from .dataframe import DataFrame
@@ -72,7 +72,7 @@ def from_arrow(obj: Any) -> Union[DataFrame, ArrowArray]:
72
73
74
def normalize_sessionless_transaction_id(
75
- value: bytes | str | None = None,
+ value: Optional[Union[bytes, str]] = None,
76
) -> bytes:
77
"""
78
Normalize and validate the transaction_id.
0 commit comments