Spaces:
Sleeping
Sleeping
nastasiasnk
commited on
Commit
•
4508e72
1
Parent(s):
e5db28d
Update imports_utils.py
Browse files- imports_utils.py +7 -2
imports_utils.py
CHANGED
@@ -38,9 +38,14 @@ import matplotlib
|
|
38 |
|
39 |
import json
|
40 |
|
41 |
-
from
|
|
|
42 |
|
43 |
-
|
|
|
|
|
|
|
|
|
44 |
|
45 |
|
46 |
|
|
|
38 |
|
39 |
import json
|
40 |
|
41 |
+
from notion_client import Client
|
42 |
+
import os
|
43 |
|
44 |
+
# Fetch the token securely from environment variables
|
45 |
+
notion_token = os.getenv('notionToken')
|
46 |
+
|
47 |
+
# Initialize the Notion client with your token
|
48 |
+
notion = Client(auth=notion_token)
|
49 |
|
50 |
|
51 |
|