Skip to content

Commit 73b9061

Browse files
committed
Remove check credit balance API and related models
- Deleted the `check_credit_balance.py` file and the associated `CheckCreditBalanceResponseCheckcreditbalance` model to streamline the API. - Updated `__init__.py` to remove references to the deleted model, ensuring a clean public API. - Adjusted related API endpoints for credit summary and materialization status to maintain consistency. These changes enhance the clarity and maintainability of the `robosystems_client` API.
1 parent 2bff9fd commit 73b9061

5 files changed

Lines changed: 2 additions & 342 deletions

File tree

‎robosystems_client/api/credits_/check_credit_balance.py‎

Lines changed: 0 additions & 290 deletions
This file was deleted.

‎robosystems_client/api/credits_/get_credit_summary.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def _get_kwargs(
1717
) -> dict[str, Any]:
1818
_kwargs: dict[str, Any] = {
1919
"method": "get",
20-
"url": "/v1/graphs/{graph_id}/credits/summary".format(
20+
"url": "/v1/graphs/{graph_id}/credits".format(
2121
graph_id=quote(str(graph_id), safe=""),
2222
),
2323
}

‎robosystems_client/api/materialize/get_materialization_status.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def _get_kwargs(
1717
) -> dict[str, Any]:
1818
_kwargs: dict[str, Any] = {
1919
"method": "get",
20-
"url": "/v1/graphs/{graph_id}/materialize/status".format(
20+
"url": "/v1/graphs/{graph_id}/materialize".format(
2121
graph_id=quote(str(graph_id), safe=""),
2222
),
2323
}

‎robosystems_client/models/__init__.py‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,6 @@
5454
from .cancel_operation_response_canceloperation import (
5555
CancelOperationResponseCanceloperation,
5656
)
57-
from .check_credit_balance_response_checkcreditbalance import (
58-
CheckCreditBalanceResponseCheckcreditbalance,
59-
)
6057
from .checkout_response import CheckoutResponse
6158
from .checkout_status_response import CheckoutStatusResponse
6259
from .closing_entry_response import ClosingEntryResponse
@@ -428,7 +425,6 @@
428425
"BulkDocumentUploadResponse",
429426
"BulkDocumentUploadResponseErrorsType0Item",
430427
"CancelOperationResponseCanceloperation",
431-
"CheckCreditBalanceResponseCheckcreditbalance",
432428
"CheckoutResponse",
433429
"CheckoutStatusResponse",
434430
"ClosingEntryResponse",

‎robosystems_client/models/check_credit_balance_response_checkcreditbalance.py‎

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)