Skip to content

Commit 34a829c

Browse files
committed
refactor: remove unused config mapping in auth decorator
1 parent 6b4334b commit 34a829c

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/datapilot/cli/decorators.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ def wrapper(token, instance_name, backend_url, *args, **kwargs):
6262
file_config = load_config_from_file()
6363
file_config = process_config(file_config)
6464

65-
# Map config file keys to CLI option names
66-
config_mapping = {"altimateApiKey": "token", "altimateInstanceName": "instance_name", "altimateUrl": "backend_url"}
67-
6865
# Apply file config first, then override with CLI arguments if provided
6966
final_token = token
7067
final_instance_name = instance_name

0 commit comments

Comments
 (0)