rosetta-cli 2.0.7__tar.gz → 2.0.9__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {rosetta_cli-2.0.7/rosetta_cli.egg-info → rosetta_cli-2.0.9}/PKG-INFO +1 -1
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/pyproject.toml +1 -1
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/rosetta_cli/ims_config.py +4 -3
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9/rosetta_cli.egg-info}/PKG-INFO +1 -1
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/MANIFEST.in +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/README.md +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/env.template +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/rosetta_cli/__init__.py +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/rosetta_cli/__main__.py +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/rosetta_cli/cli.py +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/rosetta_cli/commands/__init__.py +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/rosetta_cli/commands/base_command.py +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/rosetta_cli/commands/cleanup_command.py +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/rosetta_cli/commands/list_command.py +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/rosetta_cli/commands/parse_command.py +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/rosetta_cli/commands/publish_command.py +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/rosetta_cli/commands/verify_command.py +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/rosetta_cli/ims_auth.py +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/rosetta_cli/ims_publisher.py +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/rosetta_cli/ims_utils.py +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/rosetta_cli/ragflow_client.py +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/rosetta_cli/services/__init__.py +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/rosetta_cli/services/auth_service.py +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/rosetta_cli/services/dataset_service.py +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/rosetta_cli/services/document_data.py +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/rosetta_cli/services/document_service.py +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/rosetta_cli/typing_utils.py +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/rosetta_cli.egg-info/SOURCES.txt +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/rosetta_cli.egg-info/dependency_links.txt +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/rosetta_cli.egg-info/entry_points.txt +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/rosetta_cli.egg-info/requires.txt +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/rosetta_cli.egg-info/top_level.txt +0 -0
- {rosetta_cli-2.0.7 → rosetta_cli-2.0.9}/setup.cfg +0 -0
|
@@ -5,6 +5,7 @@ Handles environment variables and configuration loading for RAGFlow-based
|
|
|
5
5
|
IMS publishing tools.
|
|
6
6
|
"""
|
|
7
7
|
|
|
8
|
+
import logging
|
|
8
9
|
import os
|
|
9
10
|
from dataclasses import dataclass
|
|
10
11
|
from pathlib import Path
|
|
@@ -14,6 +15,8 @@ from dotenv import load_dotenv
|
|
|
14
15
|
|
|
15
16
|
from .typing_utils import JsonDict
|
|
16
17
|
|
|
18
|
+
logger = logging.getLogger(__name__)
|
|
19
|
+
|
|
17
20
|
ENV_FILE_ENV_VAR = "ROSETTA_CLI_ENV_FILE"
|
|
18
21
|
|
|
19
22
|
|
|
@@ -265,9 +268,7 @@ class IMSConfig:
|
|
|
265
268
|
)
|
|
266
269
|
|
|
267
270
|
if not self.api_key.startswith("ragflow-"):
|
|
268
|
-
|
|
269
|
-
f"Warning: API key should start with 'ragflow-', got: {self.api_key[:10]}..."
|
|
270
|
-
)
|
|
271
|
+
logger.warning("API key should start with 'ragflow-', got: %s...", self.api_key[:10])
|
|
271
272
|
|
|
272
273
|
return True
|
|
273
274
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|