Skip to content

Commit

Permalink
rename warnings.py to avoid naming collisions during debugging (#225)
Browse files Browse the repository at this point in the history
  • Loading branch information
rreinoldsc committed Apr 24, 2024
1 parent 708c67d commit 9ac9047
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion great_expectations_cloud/agent/actions/unknown.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
ActionResult,
AgentAction,
)
from great_expectations_cloud.agent.agent_warnings import warn_unknown_event
from great_expectations_cloud.agent.models import (
UnknownEvent,
)
from great_expectations_cloud.agent.warnings import warn_unknown_event

LOGGER: Final[logging.Logger] = logging.getLogger(__name__)

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "great_expectations_cloud"
version = "20240423.0"
version = "20240424.0"
description = "Great Expectations Cloud"
authors = ["The Great Expectations Team <team@greatexpectations.io>"]
repository = "https://github.com/great-expectations/cloud"
Expand Down
2 changes: 1 addition & 1 deletion tests/agent/actions/test_unknown.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
import pytest

from great_expectations_cloud.agent.actions.unknown import UnknownEventAction
from great_expectations_cloud.agent.agent_warnings import GXAgentUserWarning
from great_expectations_cloud.agent.models import UnknownEvent
from great_expectations_cloud.agent.warnings import GXAgentUserWarning


def test_unknown_throws_warning(mocker):
Expand Down
2 changes: 1 addition & 1 deletion tests/agent/test_event_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
RunMissingnessDataAssistantAction,
RunOnboardingDataAssistantAction,
)
from great_expectations_cloud.agent.agent_warnings import GXAgentUserWarning
from great_expectations_cloud.agent.event_handler import (
_EVENT_ACTION_MAP,
EventAlreadyRegisteredError,
Expand All @@ -41,7 +42,6 @@
RunOnboardingDataAssistantEvent,
UnknownEvent,
)
from great_expectations_cloud.agent.warnings import GXAgentUserWarning

if TYPE_CHECKING:
from pytest_mock import MockerFixture
Expand Down

0 comments on commit 9ac9047

Please sign in to comment.