Fix: import error
Browse files- .idea/workspace.xml +10 -6
- Kaggle_API.py +2 -1
.idea/workspace.xml
CHANGED
|
@@ -1,12 +1,12 @@
|
|
| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
<project version="4">
|
|
|
|
|
|
|
|
|
|
| 3 |
<component name="ChangeListManager">
|
| 4 |
<list default="true" id="d268fe54-cb43-4451-8f43-ce4d20d5699c" name="Changes" comment="">
|
| 5 |
-
<change beforePath="$PROJECT_DIR$/.idea/.
|
| 6 |
-
<change beforePath="$PROJECT_DIR$/.
|
| 7 |
-
<change beforePath="$PROJECT_DIR$/.idea/misc.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/misc.xml" afterDir="false" />
|
| 8 |
-
<change beforePath="$PROJECT_DIR$/app.py" beforeDir="false" afterPath="$PROJECT_DIR$/app.py" afterDir="false" />
|
| 9 |
-
<change beforePath="$PROJECT_DIR$/service_account.json" beforeDir="false" />
|
| 10 |
</list>
|
| 11 |
<option name="SHOW_DIALOG" value="false" />
|
| 12 |
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
@@ -35,6 +35,10 @@
|
|
| 35 |
"git-widget-placeholder": "main",
|
| 36 |
"kotlin-language-version-configured": "true",
|
| 37 |
"last_opened_file_path": "C:/Users/Amir/anaconda3/envs/env",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
"nodejs_package_manager_path": "npm",
|
| 39 |
"project.structure.last.edited": "Modules",
|
| 40 |
"project.structure.proportion": "0.0",
|
|
@@ -57,7 +61,7 @@
|
|
| 57 |
<option name="number" value="Default" />
|
| 58 |
<option name="presentableId" value="Default" />
|
| 59 |
<updated>1713919907805</updated>
|
| 60 |
-
<workItem from="1713919910236" duration="
|
| 61 |
</task>
|
| 62 |
<servers />
|
| 63 |
</component>
|
|
|
|
| 1 |
<?xml version="1.0" encoding="UTF-8"?>
|
| 2 |
<project version="4">
|
| 3 |
+
<component name="AutoImportSettings">
|
| 4 |
+
<option name="autoReloadType" value="SELECTIVE" />
|
| 5 |
+
</component>
|
| 6 |
<component name="ChangeListManager">
|
| 7 |
<list default="true" id="d268fe54-cb43-4451-8f43-ce4d20d5699c" name="Changes" comment="">
|
| 8 |
+
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
| 9 |
+
<change beforePath="$PROJECT_DIR$/Kaggle_API.py" beforeDir="false" afterPath="$PROJECT_DIR$/Kaggle_API.py" afterDir="false" />
|
|
|
|
|
|
|
|
|
|
| 10 |
</list>
|
| 11 |
<option name="SHOW_DIALOG" value="false" />
|
| 12 |
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
|
|
| 35 |
"git-widget-placeholder": "main",
|
| 36 |
"kotlin-language-version-configured": "true",
|
| 37 |
"last_opened_file_path": "C:/Users/Amir/anaconda3/envs/env",
|
| 38 |
+
"node.js.detected.package.eslint": "true",
|
| 39 |
+
"node.js.detected.package.tslint": "true",
|
| 40 |
+
"node.js.selected.package.eslint": "(autodetect)",
|
| 41 |
+
"node.js.selected.package.tslint": "(autodetect)",
|
| 42 |
"nodejs_package_manager_path": "npm",
|
| 43 |
"project.structure.last.edited": "Modules",
|
| 44 |
"project.structure.proportion": "0.0",
|
|
|
|
| 61 |
<option name="number" value="Default" />
|
| 62 |
<option name="presentableId" value="Default" />
|
| 63 |
<updated>1713919907805</updated>
|
| 64 |
+
<workItem from="1713919910236" duration="394000" />
|
| 65 |
</task>
|
| 66 |
<servers />
|
| 67 |
</component>
|
Kaggle_API.py
CHANGED
|
@@ -1,10 +1,11 @@
|
|
| 1 |
import time
|
| 2 |
|
|
|
|
| 3 |
from Helper_functions import *
|
| 4 |
|
| 5 |
|
| 6 |
class API_Connection:
|
| 7 |
-
def __init__(self, gd_connection, kaggle_username: str = "", kaggle_key: str = ""):
|
| 8 |
os.environ["KAGGLE_USERNAME"] = kaggle_username
|
| 9 |
os.environ["KAGGLE_KEY"] = kaggle_key
|
| 10 |
|
|
|
|
| 1 |
import time
|
| 2 |
|
| 3 |
+
from GoogleDrive_API import GoogleDrive_API
|
| 4 |
from Helper_functions import *
|
| 5 |
|
| 6 |
|
| 7 |
class API_Connection:
|
| 8 |
+
def __init__(self, gd_connection: GoogleDrive_API, kaggle_username: str = "", kaggle_key: str = ""):
|
| 9 |
os.environ["KAGGLE_USERNAME"] = kaggle_username
|
| 10 |
os.environ["KAGGLE_KEY"] = kaggle_key
|
| 11 |
|