Skip to content

Commit 2a48213

Browse files
committed
Fixed formatting, some other simplifications
1 parent d8b7b9e commit 2a48213

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

roboflow/config.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ def get_conditional_configuration_variable(key, default):
7777
RF_WORKSPACES = get_conditional_configuration_variable("workspaces", default={})
7878
TQDM_DISABLE = os.getenv("TQDM_DISABLE", None)
7979

80+
8081
def load_roboflow_api_key(workspace_url=None):
8182
if os.getenv("ROBOFLOW_API_KEY") is not None:
8283
return os.getenv("ROBOFLOW_API_KEY")

roboflow/core/version.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,18 @@
1212
import yaml
1313
from dotenv import load_dotenv
1414
from tqdm import tqdm
15+
1516
from roboflow.config import (
1617
API_URL,
1718
APP_URL,
1819
DEMO_KEYS,
20+
TQDM_DISABLE,
1921
TYPE_CLASSICATION,
2022
TYPE_INSTANCE_SEGMENTATION,
2123
TYPE_KEYPOINT_DETECTION,
2224
TYPE_OBJECT_DETECTION,
2325
TYPE_SEMANTIC_SEGMENTATION,
2426
UNIVERSE_URL,
25-
TQDM_DISABLE
2627
)
2728
from roboflow.core.dataset import Dataset
2829
from roboflow.models.classification import ClassificationModel

0 commit comments

Comments
 (0)