@@ -32,7 +32,7 @@ def __init__(self, key: str, gateway: str) -> None:
3232 super ().__init__ (key = key , gateway = gateway )
3333 self ._base_url = gateway + f"/v{ API_VERSION } /metadata"
3434
35- def list_publishers (self ) -> list [dict [str , Any ]]:
35+ def list_publishers (self ) -> list [dict [str , int | str ]]:
3636 """
3737 Request all publishers from Databento.
3838
@@ -42,7 +42,7 @@ def list_publishers(self) -> list[dict[str, Any]]:
4242
4343 Returns
4444 -------
45- list[dict[str, Any ]]
45+ list[dict[str, int | str ]]
4646
4747 """
4848 response : Response = self ._get (
@@ -121,7 +121,7 @@ def list_fields(
121121 self ,
122122 schema : Schema | str ,
123123 encoding : Encoding | str ,
124- ) -> list [dict [str , Any ]]:
124+ ) -> list [dict [str , str ]]:
125125 """
126126 List all fields for a particular schema and encoding from Databento.
127127
@@ -136,7 +136,7 @@ def list_fields(
136136
137137 Returns
138138 -------
139- list[dict[str, Any ]]
139+ list[dict[str, str ]]
140140 A list of field details.
141141
142142 """
@@ -189,7 +189,7 @@ def get_dataset_condition(
189189 dataset : Dataset | str ,
190190 start_date : date | str | None = None ,
191191 end_date : date | str | None = None ,
192- ) -> list [dict [str , str ]]:
192+ ) -> list [dict [str , str | None ]]:
193193 """
194194 Get the per date dataset conditions from Databento.
195195
@@ -210,7 +210,7 @@ def get_dataset_condition(
210210
211211 Returns
212212 -------
213- list[dict[str, str]]
213+ list[dict[str, str | None ]]
214214
215215 """
216216 params : list [tuple [str , str | None ]] = [
0 commit comments