Skip to content

Commit 624e1d3

Browse files
authored
Add client
1 parent 3bb6b39 commit 624e1d3

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
@@ -13,11 +13,13 @@ class AXMagic:
1313
Import with `%load_ext axiomatic.magic`."""
1414

1515
api_key: str
16+
client: Axiomatic
1617

1718
def __init__(self, api_key: str = os.getenv("AXIOMATIC_API_KEY")):
1819
self.folder = platformdirs.user_config_dir("axiomatic")
1920

2021
self.api_key = api_key
22+
self.client = Axiomatic(api_key=api_key)
2123
self.query = ""
2224

2325
def ax_api(self, query):

0 commit comments

Comments
 (0)