Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 5 additions & 3 deletions dataall_cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@
from typing import Any, Dict, List, Optional

import click
from dataall_core.auth.oidc_browser_auth import (
DEFAULT_FALLBACK_REDIRECT_URI,
DEFAULT_REDIRECT_URI,
DEFAULT_SCOPES,
)
from dataall_core.dataall_client import DataallClient
from dataall_core.profile import CONFIG_PATH

Expand Down Expand Up @@ -52,9 +57,6 @@ def dataall_cli() -> None:


AUTH_TYPES = ["CognitoAuth", "CustomAuth", "OidcBrowserAuth"]
DEFAULT_REDIRECT_URI = "http://localhost:8765/callback"
DEFAULT_FALLBACK_REDIRECT_URI = "http://localhost:8766/callback"
DEFAULT_SCOPES = "openid offline_access"
DISCOVERED = "dataall_discovered"
DISCOVERED_FOR = "dataall_discovered_for"

Expand Down
3 changes: 2 additions & 1 deletion dataall_cli/utils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""data.all cli utils."""

from dataall_core.discovery import discover_from_frontend, frontend_origin

from .config import load_config, save_config
from .discovery import discover_from_frontend, frontend_origin

__all__ = ["discover_from_frontend", "frontend_origin", "load_config", "save_config"]
54 changes: 0 additions & 54 deletions dataall_cli/utils/discovery.py

This file was deleted.

8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "dataall-cli"
version = "0.5.0"
version = "0.6.0"
description = "AWS data.all CLI"
authors = [{ name = "Amazon Web Services" }]
license = { text = "Apache License 2.0" }
Expand All @@ -22,7 +22,7 @@ dependencies = [
"atomicfile>=1.0.1",
"PyYAML>=6.0.1",
"setuptools; python_version >= '3.12'",
"dataall-core>=0.5.0,<0.6.0",
"dataall-core>=0.6.0,<0.7.0",
]

[project.scripts]
Expand Down
93 changes: 0 additions & 93 deletions tests/unit/test_discovery.py

This file was deleted.

Loading