Skip to content

Commit b5f324f

Browse files
committed
FIX: Add future import and fix type annotations
1 parent d959eeb commit b5f324f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/test_reference_corporate.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1+
from __future__ import annotations
2+
13
from collections.abc import Iterable
24
from pathlib import Path
3-
from typing import Optional
4-
from typing import Union
55
from unittest.mock import MagicMock
66

77
import databento as db
@@ -40,7 +40,7 @@
4040
def test_corporate_actions_get_range_sends_expected_request(
4141
monkeypatch: pytest.MonkeyPatch,
4242
reference_client: Reference,
43-
events: Optional[Union[Iterable[str], str]],
43+
events: Iterable[str] | str | None,
4444
data_events: str,
4545
) -> None:
4646
# Arrange

0 commit comments

Comments
 (0)