diff --git a/changelog/improvement.md b/changelog/improvement.md deleted file mode 100644 index afc85ff003..0000000000 --- a/changelog/improvement.md +++ /dev/null @@ -1 +0,0 @@ -Moved the ocean httpx client so it will be more accessible to integrations \ No newline at end of file diff --git a/port_ocean/clients/port/authentication.py b/port_ocean/clients/port/authentication.py index 22b6817dc6..307b421ea3 100644 --- a/port_ocean/clients/port/authentication.py +++ b/port_ocean/clients/port/authentication.py @@ -5,7 +5,7 @@ from pydantic import BaseModel, Field, PrivateAttr from port_ocean.clients.port.types import UserAgentType -from port_ocean.clients.utils import handle_status_code +from port_ocean.clients.port.utils import handle_status_code from port_ocean.utils import get_time diff --git a/port_ocean/clients/port/client.py b/port_ocean/clients/port/client.py index a7ba257fc5..d3560feb2e 100644 --- a/port_ocean/clients/port/client.py +++ b/port_ocean/clients/port/client.py @@ -7,7 +7,7 @@ from port_ocean.clients.port.types import ( KafkaCreds, ) -from port_ocean.clients.utils import handle_status_code, async_client +from port_ocean.clients.port.utils import handle_status_code, async_client from port_ocean.exceptions.clients import KafkaCredentialsNotFound diff --git a/port_ocean/clients/port/mixins/blueprints.py b/port_ocean/clients/port/mixins/blueprints.py index 20f6641e6e..b57b1bd361 100644 --- a/port_ocean/clients/port/mixins/blueprints.py +++ b/port_ocean/clients/port/mixins/blueprints.py @@ -4,7 +4,7 @@ from loguru import logger from port_ocean.clients.port.authentication import PortAuthentication -from port_ocean.clients.utils import handle_status_code +from port_ocean.clients.port.utils import handle_status_code from port_ocean.core.models import Blueprint diff --git a/port_ocean/clients/port/mixins/entities.py b/port_ocean/clients/port/mixins/entities.py index c38604f792..e14cc9024f 100644 --- a/port_ocean/clients/port/mixins/entities.py +++ b/port_ocean/clients/port/mixins/entities.py @@ -5,7 +5,7 @@ from port_ocean.clients.port.authentication import PortAuthentication from port_ocean.clients.port.types import RequestOptions, UserAgentType -from port_ocean.clients.utils import handle_status_code +from port_ocean.clients.port.utils import handle_status_code from port_ocean.core.models import Entity diff --git a/port_ocean/clients/port/mixins/integrations.py b/port_ocean/clients/port/mixins/integrations.py index fdbdb034fa..66071a1812 100644 --- a/port_ocean/clients/port/mixins/integrations.py +++ b/port_ocean/clients/port/mixins/integrations.py @@ -5,7 +5,7 @@ from starlette import status from port_ocean.clients.port.authentication import PortAuthentication -from port_ocean.clients.utils import handle_status_code +from port_ocean.clients.port.utils import handle_status_code if TYPE_CHECKING: from port_ocean.core.handlers.port_app_config.models import PortAppConfig diff --git a/port_ocean/clients/utils.py b/port_ocean/clients/port/utils.py similarity index 100% rename from port_ocean/clients/utils.py rename to port_ocean/clients/port/utils.py diff --git a/pyproject.toml b/pyproject.toml index 228d4410dd..80142e6035 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "port-ocean" -version = "0.2.0.dev1" +version = "0.2.0.dev2" description = "Port Ocean is a CLI tool for managing your Port projects." readme = "README.md" homepage = "https://app.getport.io"