Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc62d61e

Browse files
authored
Release v0.0.4 (#13)
1 parentf19e2f9 commitc62d61e

File tree

21 files changed

+1697
-451
lines changed

21 files changed

+1697
-451
lines changed

‎VERSION‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.0.3
1+
0.0.4

‎bin/generate.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
version=$(cat VERSION)
44

5-
docker run --rm -v"${PWD}:/local" openapitools/openapi-generator-cli:v7.9.0 generate \
5+
docker run --rm -v"${PWD}:/local" openapitools/openapi-generator-cli:v7.10.0 generate \
66
-i https://raw.githubusercontent.com/localstack/openapi/refs/heads/main/openapi/emulators/localstack-spec-latest.yml \
77
--skip-validate-spec \
88
-g python \

‎localstack-sdk-python/localstack/sdk/chaos/client.py‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,37 +18,37 @@ def set_fault_rules(self, fault_rules: list[FaultRule]) -> list[FaultRule]:
1818
:param fault_rules: the list of FaultRule we want to set
1919
:return: the list of FaultRule currently in place
2020
"""
21-
returnself._client.set_fault_rules_0(fault_rule=fault_rules)
21+
returnself._client.set_fault_rules(fault_rule=fault_rules)
2222

2323
defadd_fault_rules(self,fault_rules:list[FaultRule])->list[FaultRule]:
2424
"""
2525
Adds a new set of rules to the current fault configuration.
2626
:param fault_rules: the FaultRule rules to add
2727
:return: the list of FaultRule currently in place
2828
"""
29-
returnself._client.add_fault_rules_0(fault_rule=fault_rules)
29+
returnself._client.add_fault_rules(fault_rule=fault_rules)
3030

3131
defdelete_fault_rules(self,fault_rules:list[FaultRule])->list[FaultRule]:
3232
"""
3333
Deletes a set of rules from the fault configuration.
3434
:param fault_rules: the FaultRule to delete
3535
:return: the list of FaultRule currently in place
3636
"""
37-
returnself._client.delete_fault_rules_0(fault_rule=fault_rules)
37+
returnself._client.delete_fault_rules(fault_rule=fault_rules)
3838

3939
defget_fault_rules(self)->list[FaultRule]:
4040
"""
4141
Gets the current fault configuration.
4242
:return: the list of FaultRule of the current configuration
4343
"""
44-
returnself._client.get_fault_rules_0()
44+
returnself._client.get_fault_rules()
4545

4646
defget_network_effects(self)->NetworkEffectsConfig:
4747
"""
4848
Gets the current network effect configuration.
4949
:return: the current NetworkEffectsConfig
5050
"""
51-
returnself._client.get_network_effects_0()
51+
returnself._client.get_network_effects()
5252

5353
defset_network_effects(
5454
self,network_effects_config:NetworkEffectsConfig
@@ -58,7 +58,7 @@ def set_network_effects(
5858
:param network_effects_config: the network config to be set
5959
:return: the current configuration of network effects
6060
"""
61-
returnself._client.set_network_effects_0(network_effects_config=network_effects_config)
61+
returnself._client.set_network_effects(network_effects_config=network_effects_config)
6262

6363

6464
defget_default(**args)->ChaosClient:

‎localstack-sdk-python/localstack/sdk/pods/client.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def save_pod(self, pod_name: str) -> None:
6060
:return: None
6161
:raises PodSaveException: if the save operation returns an error
6262
"""
63-
response=self._client.save_pod_0_with_http_info(
63+
response=self._client.save_pod_with_http_info(
6464
name=pod_name,pod_save_request=PodSaveRequest()
6565
)
6666
ifresponse.status_code!=200:
@@ -77,7 +77,7 @@ def load_pod(self, pod_name: str) -> None:
7777
:return: None
7878
:raises PodLoadException: if the load operation returns an error
7979
"""
80-
response=self._client.load_pod_0_with_http_info(
80+
response=self._client.load_pod_with_http_info(
8181
name=pod_name,remote_config=_empty_remote_config()
8282
)
8383
ifresponse.status_code!=200:
@@ -93,14 +93,14 @@ def delete_pod(self, pod_name: str) -> None:
9393
:param pod_name: the name of the Cloud Pod to be deleted.
9494
:return: None
9595
"""
96-
returnself._client.delete_pod_0(name=pod_name,remote_config=_empty_remote_config())
96+
returnself._client.delete_pod(name=pod_name,remote_config=_empty_remote_config())
9797

9898
deflist_pods(self)->PodList:
9999
"""
100100
Returns the list of the Cloud Pods visible in the organization.
101101
:return: a PodList object
102102
"""
103-
pods=self._client.list_pods_0(remote_config=_empty_remote_config())
103+
pods=self._client.list_pods(remote_config=_empty_remote_config())
104104
returnpods
105105

106106

‎localstack-sdk-python/localstack/sdk/state/client.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ def reset_state(self) -> None:
1616
Resets the state of LocalStack for all running services.
1717
:return: None
1818
"""
19-
self._client.localstack_state_reset_post_0()
19+
self._client.localstack_state_reset_post()

‎packages/localstack-sdk-generated/.openapi-generator/FILES‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ localstack/sdk/models/get_features_and_services200_response.py
3333
localstack/sdk/models/get_lambda_runtimes200_response.py
3434
localstack/sdk/models/get_ses_messages200_response.py
3535
localstack/sdk/models/get_sns_subscription_token200_response.py
36+
localstack/sdk/models/iam_config.py
3637
localstack/sdk/models/init_scripts.py
3738
localstack/sdk/models/init_scripts_completed.py
3839
localstack/sdk/models/init_scripts_scripts_inner.py
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
7.9.0
1+
7.10.0

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp