Skip to content

Commit 6c8ec85

Browse files
cezara98tclaude
andcommitted
refactor(platform): rename IXP _transport.py to _base_service.py
Match the platform's file-naming convention: every service module is `_<name>_service.py`, and the shared HTTP base is `common/_base_service.py` (class BaseService). This module plays the same role one level down — the base service every IXP design-time service extends — so name it `_base_service.py` (class IxpDesigntimeService is unchanged). Renames the matching test file and drops the "transport" framing from the docstrings. No behavior change. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 098dfb8 commit 6c8ec85

3 files changed

Lines changed: 6 additions & 6 deletions

File tree

packages/uipath-platform/src/uipath/platform/document_projects/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
"""UiPath IXP design-time SDK (``du_/api/designtimeapi``).
22
33
This package hosts the IXP design-time services (projects, taxonomy, labellings,
4-
documents, models). It currently provides the shared transport foundation;
4+
documents, models). It currently provides the shared base service;
55
resource services are added on top of :class:`IxpDesigntimeService`.
66
"""
77

8-
from ._transport import (
8+
from ._base_service import (
99
DESIGNTIME_API_BASE,
1010
DESIGNTIME_API_VERSION,
1111
IxpDesigntimeService,

packages/uipath-platform/src/uipath/platform/document_projects/_transport.py renamed to packages/uipath-platform/src/uipath/platform/document_projects/_base_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
"""Transport foundation for the IXP design-time API.
1+
"""Base service for the IXP design-time API.
22
33
All IXP design-time endpoints live under ``du_/api/designtimeapi`` and share a
4-
small set of transport conventions that differ from the rest of the platform
4+
small set of HTTP conventions that differ from the rest of the platform
55
SDK. This module centralises them in :class:`IxpDesigntimeService`, the base
66
class every IXP service (projects, taxonomy, labellings, documents, models)
77
builds on:

packages/uipath-platform/tests/services/test_document_projects_transport.py renamed to packages/uipath-platform/tests/services/test_document_projects_base_service.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
"""Tests for the IXP design-time transport foundation (``platform/document_projects/_transport``).
1+
"""Tests for the IXP design-time base service (``platform/document_projects/_base_service``).
22
3-
Cover the design-time transport conventions this layer enforces:
3+
Cover the design-time HTTP conventions this layer enforces:
44
the ``du_/api/designtimeapi`` base path, the mandatory ``api-version=1.0`` query
55
param, strict path-segment percent-encoding, ``{}`` as the empty write body,
66
multipart ``file`` upload, binary download, and — the load-bearing one — that

0 commit comments

Comments
 (0)