Skip to content

Commit b61f9d7

Browse files
authored
Remove uneccesary setting with ax_api
1 parent 8e2188a commit b61f9d7

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

src/axiomatic/magic.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,8 @@ def __init__(self, api_key: str = os.getenv("AXIOMATIC_API_KEY")):
2323
self.client = Axiomatic(api_key=api_key)
2424
self.query = ""
2525

26-
def ax_api(self, api_key: str):
27-
folder = platformdirs.user_config_dir("axiomatic")
28-
with open(f"{folder}/api_key", "w") as f:
29-
f.write(query)
30-
self.api = query
31-
self.ax = Axiomatic(api_key=self.api_key)
32-
print("API key set.")
26+
def ax_api(self, query):
27+
continue
3328

3429
def axquery(self, query, cell=None):
3530
if self.api_key:

0 commit comments

Comments
 (0)