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 d959eeb commit b5f324fCopy full SHA for b5f324f
tests/test_reference_corporate.py
@@ -1,7 +1,7 @@
1
+from __future__ import annotations
2
+
3
from collections.abc import Iterable
4
from pathlib import Path
-from typing import Optional
-from typing import Union
5
from unittest.mock import MagicMock
6
7
import databento as db
@@ -40,7 +40,7 @@
40
def test_corporate_actions_get_range_sends_expected_request(
41
monkeypatch: pytest.MonkeyPatch,
42
reference_client: Reference,
43
- events: Optional[Union[Iterable[str], str]],
+ events: Iterable[str] | str | None,
44
data_events: str,
45
) -> None:
46
# Arrange
0 commit comments