From 9caf103d109e36c4a09fdc6de4c3c9cf4471fc30 Mon Sep 17 00:00:00 2001 From: fireblocks_dx_team Date: Thu, 5 Feb 2026 13:11:54 +0000 Subject: [PATCH] Generated SDK #9461 --- .auto-changelog | 11 ++ .github/release-drafter.yml | 56 ------- .github/workflows/draft-release-from-pr.yml | 91 ++++++++++++ .github/workflows/pr-auto-label.yml | 37 +++++ .../{pr-title.yml => pr-title-validation.yml} | 2 +- .github/workflows/release-drafter.yml | 16 -- README.md | 1 + docs/UnmanagedWallet.md | 1 + docs/WalletAsset.md | 2 +- docs/WebhooksV2Api.md | 74 ++++++++++ fireblocks/__init__.py | 2 +- fireblocks/api/webhooks_v2_api.py | 137 ++++++++++++++++++ fireblocks/configuration.py | 2 +- fireblocks/models/unmanaged_wallet.py | 8 +- fireblocks/models/wallet_asset.py | 4 +- pyproject.toml | 2 +- setup.py | 2 +- test/test_paginated_assets_response.py | 10 +- test/test_unmanaged_wallet.py | 8 +- test/test_wallet_asset.py | 2 +- test/test_webhooks_v2_api.py | 7 + 21 files changed, 384 insertions(+), 91 deletions(-) create mode 100644 .auto-changelog delete mode 100644 .github/release-drafter.yml create mode 100644 .github/workflows/draft-release-from-pr.yml create mode 100644 .github/workflows/pr-auto-label.yml rename .github/workflows/{pr-title.yml => pr-title-validation.yml} (87%) delete mode 100644 .github/workflows/release-drafter.yml diff --git a/.auto-changelog b/.auto-changelog new file mode 100644 index 00000000..8fb54f02 --- /dev/null +++ b/.auto-changelog @@ -0,0 +1,11 @@ +{ + "output": "CHANGELOG.md", + "template": "keepachangelog", + "unreleased": false, + "commitLimit": 0, + "backfillLimit": 3, + "hideCredit": true, + "replaceText": { + "\\[([^\\]]+)\\]\\(https://github.com/[^/]+/[^/]+/compare/[^)]+\\)": "[$1](https://github.com/fireblocks/ts-sdk/releases/tag/$1)" + } +} \ No newline at end of file diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml deleted file mode 100644 index 197fe048..00000000 --- a/.github/release-drafter.yml +++ /dev/null @@ -1,56 +0,0 @@ -name-template: 'v$RESOLVED_VERSION' -tag-template: 'v$RESOLVED_VERSION' -categories: - - title: '🚀 Features' - labels: - - 'feature' - - 'enhancement' - - title: '🐛 Bug Fixes' - labels: - - 'fix' - - 'bugfix' - - 'bug' - - title: '🧰 Maintenance' - label: 'chore' -change-template: '- $TITLE @$AUTHOR (#$NUMBER)' -change-title-escapes: '\<*_&' # You can add # and @ to disable mentions, and add ` to disable code blocks. -version-resolver: - major: - labels: - - 'major' - - 'breaking' - minor: - labels: - - 'minor' - - 'enhancement' - patch: - labels: - - 'patch' - - 'bug' - default: patch -template: | - ## Changes - - $CHANGES -autolabeler: - - label: 'chore' - files: - - '*.md' - branch: - - '/docs{0,1}\/.+/' - - label: 'bug' - branch: - - '/fix\/.+/' - title: - - '/fix/i' - - '/bugfix/i' - - label: 'enhancement' - title: - - '/added/i' - - '/add/i' - - '/feature/i' - - '/feat/i' - - '/support/i' - - '/enable/i' - branch: - - '/feature\/.+/' diff --git a/.github/workflows/draft-release-from-pr.yml b/.github/workflows/draft-release-from-pr.yml new file mode 100644 index 00000000..f547cbcf --- /dev/null +++ b/.github/workflows/draft-release-from-pr.yml @@ -0,0 +1,91 @@ +name: Draft Release from PR + +on: + push: + branches: + - master_changelog_test + +permissions: + contents: write + pull-requests: read + +jobs: + draft-release: + runs-on: ubuntu-latest + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Get last merged PR + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + gh pr list \ + --state merged \ + --base master_changelog_test \ + --limit 1 \ + --json number,title,body,labels \ + > pr.json + + PR_NUM=$(jq -r '.[0].number // "none"' pr.json) + PR_TITLE=$(jq -r '.[0].title // "none"' pr.json) + echo "Found merged PR: #$PR_NUM - $PR_TITLE" + + - name: Get latest release version + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + LAST_TAG=$(gh release list --limit 1 --json tagName -q '.[0].tagName') + + if [[ -z "$LAST_TAG" || "$LAST_TAG" == "null" ]]; then + echo "No existing release found, starting from v0.1.0" + echo "LAST_TAG=v0.1.0" >> $GITHUB_ENV + else + echo "Found latest release: $LAST_TAG" + echo "LAST_TAG=$LAST_TAG" >> $GITHUB_ENV + fi + + - name: Calculate next version from labels + run: | + V="${LAST_TAG#v}" + + MAJOR=$(echo $V | cut -d. -f1) + MINOR=$(echo $V | cut -d. -f2) + PATCH=$(echo $V | cut -d. -f3) + + LABELS=$(jq -r '.[0].labels[].name' pr.json) + echo "Found labels: $LABELS" + + if echo "$LABELS" | grep -q "major"; then + echo "Bumping MAJOR version" + MAJOR=$((MAJOR+1)) + MINOR=0 + PATCH=0 + elif echo "$LABELS" | grep -q "minor"; then + echo "Bumping MINOR version" + MINOR=$((MINOR+1)) + PATCH=0 + else + echo "Bumping PATCH version" + PATCH=$((PATCH+1)) + fi + + echo "Calculated next version: v$MAJOR.$MINOR.$PATCH" + echo "VERSION=v$MAJOR.$MINOR.$PATCH" >> $GITHUB_ENV + + - name: Create DRAFT release using PR BODY + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + PR_BODY=$(jq -r '.[0].body // ""' pr.json) + + echo "Creating draft release..." + echo "Version: $VERSION" + + gh release create "$VERSION" \ + --draft \ + --title "$VERSION" \ + --notes "$PR_BODY" + + echo "Draft release created successfully!" \ No newline at end of file diff --git a/.github/workflows/pr-auto-label.yml b/.github/workflows/pr-auto-label.yml new file mode 100644 index 00000000..e5df470a --- /dev/null +++ b/.github/workflows/pr-auto-label.yml @@ -0,0 +1,37 @@ +name: PR Auto Label + +on: + pull_request: + types: [opened, edited, reopened, synchronize] + +permissions: + pull-requests: write + contents: read + +jobs: + label: + runs-on: ubuntu-latest + steps: + - name: Label PR by title + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + TITLE: ${{ github.event.pull_request.title }} + PR: ${{ github.event.pull_request.number }} + REPO: ${{ github.repository }} + run: | + label="" + + if [[ "$TITLE" =~ \(major\) ]]; then + label="major" + elif [[ "$TITLE" =~ \(minor\) ]]; then + label="minor" + elif [[ "$TITLE" =~ \(patch\) ]]; then + label="patch" + fi + + if [[ -n "$label" ]]; then + echo "Found label: $label" + gh pr edit "$PR" --repo "$REPO" --add-label "$label" + else + echo "No label found in title: $TITLE" + fi diff --git a/.github/workflows/pr-title.yml b/.github/workflows/pr-title-validation.yml similarity index 87% rename from .github/workflows/pr-title.yml rename to .github/workflows/pr-title-validation.yml index b9ada4e0..6cf926de 100644 --- a/.github/workflows/pr-title.yml +++ b/.github/workflows/pr-title-validation.yml @@ -9,4 +9,4 @@ jobs: - uses: deepakputhraya/action-pr-title@master with: disallowed_prefixes: 'COR-' - prefix_case_sensitive: false \ No newline at end of file + prefix_case_sensitive: false diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml deleted file mode 100644 index ecba06c6..00000000 --- a/.github/workflows/release-drafter.yml +++ /dev/null @@ -1,16 +0,0 @@ -name: Release Drafter - -on: - push: - branches: - - master - pull_request: - types: [opened, reopened, synchronize] - -jobs: - update_release_draft: - runs-on: ubuntu-latest - steps: - - uses: release-drafter/release-drafter@v5 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index bad17a5d..9c85e0e1 100644 --- a/README.md +++ b/README.md @@ -577,6 +577,7 @@ Class | Method | HTTP request | Description *WebhooksApi* | [**resend_transaction_webhooks**](docs/WebhooksApi.md#resend_transaction_webhooks) | **POST** /webhooks/resend/{txId} | Resend webhooks for a transaction by ID *WebhooksApi* | [**resend_webhooks**](docs/WebhooksApi.md#resend_webhooks) | **POST** /webhooks/resend | Resend failed webhooks *WebhooksV2Api* | [**create_webhook**](docs/WebhooksV2Api.md#create_webhook) | **POST** /webhooks | Create a new webhook +*WebhooksV2Api* | [**delete_notification**](docs/WebhooksV2Api.md#delete_notification) | **DELETE** /webhooks/{webhookId}/notifications/{notificationId} | Delete notification by id *WebhooksV2Api* | [**delete_webhook**](docs/WebhooksV2Api.md#delete_webhook) | **DELETE** /webhooks/{webhookId} | Delete webhook *WebhooksV2Api* | [**get_metrics**](docs/WebhooksV2Api.md#get_metrics) | **GET** /webhooks/{webhookId}/metrics/{metricName} | Get webhook metrics *WebhooksV2Api* | [**get_notification**](docs/WebhooksV2Api.md#get_notification) | **GET** /webhooks/{webhookId}/notifications/{notificationId} | Get notification by id diff --git a/docs/UnmanagedWallet.md b/docs/UnmanagedWallet.md index e4743b37..d6c63df0 100644 --- a/docs/UnmanagedWallet.md +++ b/docs/UnmanagedWallet.md @@ -9,6 +9,7 @@ Name | Type | Description | Notes **name** | **str** | | **customer_ref_id** | **str** | | [optional] **assets** | [**List[WalletAsset]**](WalletAsset.md) | | +**test** | **bool** | | ## Example diff --git a/docs/WalletAsset.md b/docs/WalletAsset.md index a650ca66..1fe85342 100644 --- a/docs/WalletAsset.md +++ b/docs/WalletAsset.md @@ -10,7 +10,7 @@ Name | Type | Description | Notes **locked_amount** | **str** | | [optional] **status** | [**ConfigChangeRequestStatus**](ConfigChangeRequestStatus.md) | | [optional] **address** | **str** | | [optional] -**tag** | **str** | | [optional] +**tag** | **bool** | | [optional] **activation_time** | **str** | | [optional] ## Example diff --git a/docs/WebhooksV2Api.md b/docs/WebhooksV2Api.md index d93edab2..d0996226 100644 --- a/docs/WebhooksV2Api.md +++ b/docs/WebhooksV2Api.md @@ -5,6 +5,7 @@ All URIs are relative to *https://api.fireblocks.io/v1* Method | HTTP request | Description ------------- | ------------- | ------------- [**create_webhook**](WebhooksV2Api.md#create_webhook) | **POST** /webhooks | Create a new webhook +[**delete_notification**](WebhooksV2Api.md#delete_notification) | **DELETE** /webhooks/{webhookId}/notifications/{notificationId} | Delete notification by id [**delete_webhook**](WebhooksV2Api.md#delete_webhook) | **DELETE** /webhooks/{webhookId} | Delete webhook [**get_metrics**](WebhooksV2Api.md#get_metrics) | **GET** /webhooks/{webhookId}/metrics/{metricName} | Get webhook metrics [**get_notification**](WebhooksV2Api.md#get_notification) | **GET** /webhooks/{webhookId}/notifications/{notificationId} | Get notification by id @@ -99,6 +100,79 @@ No authorization required [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) +# **delete_notification** +> delete_notification(webhook_id, notification_id) + +Delete notification by id + +Delete notification by id + + +### Example + + +```python +from fireblocks.client import Fireblocks +from fireblocks.client_configuration import ClientConfiguration +from fireblocks.exceptions import ApiException +from fireblocks.base_path import BasePath + +# load the secret key content from a file +with open('your_secret_key_file_path', 'r') as file: + secret_key_value = file.read() + +# build the configuration +configuration = ClientConfiguration( + api_key="your_api_key", + secret_key=secret_key_value, + base_path=BasePath.Sandbox, # or set it directly to a string "https://sandbox-api.fireblocks.io/v1" +) + + +# Enter a context with an instance of the API client +with Fireblocks(configuration) as fireblocks: + webhook_id = 'webhook_id_example' # str | The ID of the webhook to fetch + notification_id = 'notification_id_example' # str | The ID of the notification to fetch + + try: + # Delete notification by id + fireblocks.webhooks_v2.delete_notification(webhook_id, notification_id).result() + except Exception as e: + print("Exception when calling WebhooksV2Api->delete_notification: %s\n" % e) +``` + + + +### Parameters + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **webhook_id** | **str**| The ID of the webhook to fetch | + **notification_id** | **str**| The ID of the notification to fetch | + +### Return type + +void (empty response body) + +### Authorization + +No authorization required + +### HTTP request headers + + - **Content-Type**: Not defined + - **Accept**: application/json + +### HTTP response details + +| Status code | Description | Response headers | +|-------------|-------------|------------------| +**204** | OK | * X-Request-ID -
| +**0** | Error Response | * X-Request-ID -
| + +[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) + # **delete_webhook** > Webhook delete_webhook(webhook_id) diff --git a/fireblocks/__init__.py b/fireblocks/__init__.py index 32f3248e..a5610167 100644 --- a/fireblocks/__init__.py +++ b/fireblocks/__init__.py @@ -15,7 +15,7 @@ """ # noqa: E501 -__version__ = "14.0.0" +__version__ = "0.0.0" # import apis into sdk package from fireblocks.api.api_user_api import ApiUserApi diff --git a/fireblocks/api/webhooks_v2_api.py b/fireblocks/api/webhooks_v2_api.py index 9cf0a5dd..08fd8a21 100644 --- a/fireblocks/api/webhooks_v2_api.py +++ b/fireblocks/api/webhooks_v2_api.py @@ -203,6 +203,143 @@ def _create_webhook_serialize( + @validate_call + def delete_notification( + self, + webhook_id: Annotated[StrictStr, Field(description="The ID of the webhook to fetch")], + notification_id: Annotated[StrictStr, Field(description="The ID of the notification to fetch")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> Future[ApiResponse[None]]: + """Delete notification by id + + Delete notification by id + + :param webhook_id: The ID of the webhook to fetch (required) + :type webhook_id: str + :param notification_id: The ID of the notification to fetch (required) + :type notification_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + validate_not_empty_string(function_name="delete_notification", param_name="webhook_id", param_value=webhook_id) + validate_not_empty_string(function_name="delete_notification", param_name="notification_id", param_value=notification_id) + + _param = self._delete_notification_serialize( + webhook_id=webhook_id, + notification_id=notification_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + 'default': "ErrorSchema", + } + + return self.api_client.call_api( + *_param, + _request_timeout=_request_timeout, + _response_types_map=_response_types_map, + ) + + def _delete_notification_serialize( + self, + webhook_id, + notification_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if webhook_id is not None: + _path_params['webhookId'] = webhook_id + if notification_id is not None: + _path_params['notificationId'] = notification_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + ] + + return self.api_client.param_serialize( + method='DELETE', + resource_path='/webhooks/{webhookId}/notifications/{notificationId}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def delete_webhook( self, diff --git a/fireblocks/configuration.py b/fireblocks/configuration.py index cd7c1bbd..3f2e5962 100644 --- a/fireblocks/configuration.py +++ b/fireblocks/configuration.py @@ -552,7 +552,7 @@ def to_debug_report(self) -> str: "OS: {env}\n" "Python Version: {pyversion}\n" "Version of the API: 1.6.2\n" - "SDK Package Version: 14.0.0".format(env=sys.platform, pyversion=sys.version) + "SDK Package Version: 0.0.0".format(env=sys.platform, pyversion=sys.version) ) def get_host_settings(self) -> List[HostSetting]: diff --git a/fireblocks/models/unmanaged_wallet.py b/fireblocks/models/unmanaged_wallet.py index 13074db5..6fd4d1a7 100644 --- a/fireblocks/models/unmanaged_wallet.py +++ b/fireblocks/models/unmanaged_wallet.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional from fireblocks.models.wallet_asset import WalletAsset from typing import Optional, Set @@ -32,7 +32,8 @@ class UnmanagedWallet(BaseModel): name: StrictStr customer_ref_id: Optional[StrictStr] = Field(default=None, alias="customerRefId") assets: List[WalletAsset] - __properties: ClassVar[List[str]] = ["id", "name", "customerRefId", "assets"] + test: StrictBool + __properties: ClassVar[List[str]] = ["id", "name", "customerRefId", "assets", "test"] model_config = ConfigDict( populate_by_name=True, @@ -95,7 +96,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "id": obj.get("id"), "name": obj.get("name"), "customerRefId": obj.get("customerRefId"), - "assets": [WalletAsset.from_dict(_item) for _item in obj["assets"]] if obj.get("assets") is not None else None + "assets": [WalletAsset.from_dict(_item) for _item in obj["assets"]] if obj.get("assets") is not None else None, + "test": obj.get("test") }) return _obj diff --git a/fireblocks/models/wallet_asset.py b/fireblocks/models/wallet_asset.py index baa5102e..07332315 100644 --- a/fireblocks/models/wallet_asset.py +++ b/fireblocks/models/wallet_asset.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional from fireblocks.models.config_change_request_status import ConfigChangeRequestStatus from typing import Optional, Set @@ -33,7 +33,7 @@ class WalletAsset(BaseModel): locked_amount: Optional[StrictStr] = Field(default=None, alias="lockedAmount") status: Optional[ConfigChangeRequestStatus] = None address: Optional[StrictStr] = None - tag: Optional[StrictStr] = None + tag: Optional[StrictBool] = None activation_time: Optional[StrictStr] = Field(default=None, alias="activationTime") __properties: ClassVar[List[str]] = ["id", "balance", "lockedAmount", "status", "address", "tag", "activationTime"] diff --git a/pyproject.toml b/pyproject.toml index 6b11a64b..08a27f53 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "fireblocks" -version = "14.0.0" +version = "0.0.0" description = "Fireblocks API" authors = ["Fireblocks "] license = "MIT License" diff --git a/setup.py b/setup.py index ab8d98bf..8e55f57b 100644 --- a/setup.py +++ b/setup.py @@ -23,7 +23,7 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools NAME = "fireblocks" -VERSION = "14.0.0" +VERSION = "0.0.0" PYTHON_REQUIRES = ">= 3.8" REQUIRES = [ "urllib3 >= 2.1.0, < 3.0.0", diff --git a/test/test_paginated_assets_response.py b/test/test_paginated_assets_response.py index 802b8edb..2e83f973 100644 --- a/test/test_paginated_assets_response.py +++ b/test/test_paginated_assets_response.py @@ -49,9 +49,10 @@ def make_instance(self, include_optional) -> PaginatedAssetsResponse: locked_amount = '', status = 'WAITING_FOR_APPROVAL', address = '', - tag = '', + tag = True, activation_time = '', ) - ], ), + ], + test = True, ), next = '' ) else: @@ -67,9 +68,10 @@ def make_instance(self, include_optional) -> PaginatedAssetsResponse: locked_amount = '', status = 'WAITING_FOR_APPROVAL', address = '', - tag = '', + tag = True, activation_time = '', ) - ], ), + ], + test = True, ), ) """ diff --git a/test/test_unmanaged_wallet.py b/test/test_unmanaged_wallet.py index 5d639be2..88787819 100644 --- a/test/test_unmanaged_wallet.py +++ b/test/test_unmanaged_wallet.py @@ -47,9 +47,10 @@ def make_instance(self, include_optional) -> UnmanagedWallet: locked_amount = '', status = 'WAITING_FOR_APPROVAL', address = '', - tag = '', + tag = True, activation_time = '', ) - ] + ], + test = True ) else: return UnmanagedWallet( @@ -62,9 +63,10 @@ def make_instance(self, include_optional) -> UnmanagedWallet: locked_amount = '', status = 'WAITING_FOR_APPROVAL', address = '', - tag = '', + tag = True, activation_time = '', ) ], + test = True, ) """ diff --git a/test/test_wallet_asset.py b/test/test_wallet_asset.py index 737651a9..122f0766 100644 --- a/test/test_wallet_asset.py +++ b/test/test_wallet_asset.py @@ -42,7 +42,7 @@ def make_instance(self, include_optional) -> WalletAsset: locked_amount = '', status = 'WAITING_FOR_APPROVAL', address = '', - tag = '', + tag = True, activation_time = '' ) else: diff --git a/test/test_webhooks_v2_api.py b/test/test_webhooks_v2_api.py index f692b503..8ce8a892 100644 --- a/test/test_webhooks_v2_api.py +++ b/test/test_webhooks_v2_api.py @@ -34,6 +34,13 @@ def test_create_webhook(self) -> None: """ pass + def test_delete_notification(self) -> None: + """Test case for delete_notification + + Delete notification by id + """ + pass + def test_delete_webhook(self) -> None: """Test case for delete_webhook