Skip to content

Commit 075a73e

Browse files
authored
options param added to get_summaries (#363)
* options param added to get_summaries * deleted unused imports
1 parent 425bdd4 commit 075a73e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

polygon/rest/summaries.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
from polygon.rest.models.summaries import SummaryResult
22
from .base import BaseClient
3-
from typing import Optional, Any, Dict, List, Union, Iterator
4-
from .models import Order
3+
from typing import Optional, Any, Dict, List, Union
54
from urllib3 import HTTPResponse
6-
from datetime import datetime, date
5+
6+
from .models.request import RequestOptionBuilder
77

88

99
class SummariesClient(BaseClient):
@@ -12,6 +12,7 @@ def get_summaries(
1212
ticker_any_of: Optional[List[str]] = None,
1313
params: Optional[Dict[str, Any]] = None,
1414
raw: bool = False,
15+
options: Optional[RequestOptionBuilder] = None,
1516
) -> Union[List[SummaryResult], HTTPResponse]:
1617
"""
1718
GetSummaries retrieves summaries for the ticker list with the given params.
@@ -30,4 +31,5 @@ def get_summaries(
3031
result_key="results",
3132
deserializer=SummaryResult.from_dict,
3233
raw=raw,
34+
options=options,
3335
)

0 commit comments

Comments
 (0)