Skip to content

Commit 88e3d11

Browse files
committed
fix: return an alias to symbols_in_namespace to __init__.py
also no_dividends_namespaces is included
1 parent ff7d981 commit 88e3d11

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

okama/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
from okama.api.search import search
3232
from okama.api.api_methods import API
3333
import okama.api.namespaces
34+
from okama.api.namespaces import symbols_in_namespace
3435
from okama.common.helpers.helpers import Float, Frame, Rebalance, Date
3536
import okama.settings
3637

@@ -42,6 +43,8 @@ def __getattr__(name):
4243
return okama.api.namespaces.get_assets_namespaces()
4344
elif name == "macro_namespaces":
4445
return okama.api.namespaces.get_macro_namespaces()
46+
elif name == "no_dividends_namespaces":
47+
return okama.api.namespaces.no_dividends_namespaces()
4548
raise AttributeError(f"module '{__name__}' has no attribute '{name}'")
4649

4750

0 commit comments

Comments
 (0)