Skip to content

Commit

Permalink
Fix statis typing for streamz DataFrame
Browse files Browse the repository at this point in the history
  • Loading branch information
Jakub Walczak committed Jan 19, 2024
1 parent 1836d60 commit 7fe31a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/intake_geokube/iot/driver.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ def _get_schema(self):
self.stream.start()
return {"stream": str(self.stream)}

def read(self) -> streamz.dataframe.core.DataFrame:
def read(self) -> streamz.dataframe.DataFrame:
"""Read IoT data."""
self.log.info("reading stream...")
self._get_schema()
Expand All @@ -113,7 +113,7 @@ def load(self) -> NoReturn:
"loading entire product is not supported for IoT data"
)

def process(self, query: GeoQuery) -> streamz.dataframe.core.DataFrame:
def process(self, query: GeoQuery) -> streamz.dataframe.DataFrame:
"""Process IoT data with the passed query.
Parameters
Expand All @@ -123,7 +123,7 @@ def process(self, query: GeoQuery) -> streamz.dataframe.core.DataFrame:
Returns
-------
stream : streamz.dataframe.core.DataFrame
stream : streamz.dataframe.DataFrame
A DataFrame object with streamed content
"""
df = d[0]
Expand Down

0 comments on commit 7fe31a5

Please sign in to comment.