Skip to content
Snippets Groups Projects
Commit 9562f70f authored by Cain, Payton David's avatar Cain, Payton David
Browse files

update factory module type hints

parent ad76fa11
No related branches found
No related tags found
2 merge requests!166Merge branch master into production,!161Filter application
import os
from ..TimeseriesFactory import TimeseriesFactory
from ..edge import EdgeFactory, MiniSeedFactory
......@@ -9,7 +8,7 @@ def get_edge_factory(
host=os.getenv("EDGE_HOST", "127.0.0.1"),
interval="second",
**kwargs
) -> TimeseriesFactory:
) -> EdgeFactory:
return EdgeFactory(host=host, interval=interval, type=data_type, **kwargs)
......@@ -18,5 +17,5 @@ def get_miniseed_factory(
host=os.getenv("EDGE_HOST", "127.0.0.1"),
interval="second",
**kwargs
) -> TimeseriesFactory:
) -> MiniSeedFactory:
return MiniSeedFactory(host=host, interval=interval, type=data_type, **kwargs)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment