Skip to content

Commit 3bb6b39

Browse files
authored
Add api_key as explicit class param
1 parent b55d15b commit 3bb6b39

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/axiomatic/magic.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ class AXMagic:
1212
"""Class implementing magic functions for IPython.
1313
Import with `%load_ext axiomatic.magic`."""
1414

15+
api_key: str
16+
1517
def __init__(self, api_key: str = os.getenv("AXIOMATIC_API_KEY")):
1618
self.folder = platformdirs.user_config_dir("axiomatic")
1719

0 commit comments

Comments
 (0)