-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: 🐝 Update SDK - Generate 3.8.1 #98
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
github-actions
bot
force-pushed
the
speakeasy-sdk-regen-1731542695
branch
5 times, most recently
from
November 18, 2024 18:25
09032ba
to
7fe4fda
Compare
github-actions
bot
requested a review
from AdrianCollinsShippo
as a code owner
November 18, 2024 18:25
github-actions
bot
force-pushed
the
speakeasy-sdk-regen-1731542695
branch
from
November 19, 2024 13:22
7fe4fda
to
9519696
Compare
|
rkeur7
reviewed
Nov 19, 2024
Comment on lines
+1
to
+27
from shippo.models.components import ServiceGroup, ServiceGroupAccountAndServiceLevel | ||
|
||
import shippo | ||
|
||
|
||
class TestServiceGroups: | ||
|
||
def test_service_groups(self, api: shippo.Shippo): | ||
service_groups = api.service_groups.list() | ||
|
||
assert service_groups is not None | ||
assert isinstance(service_groups, list) | ||
assert len(service_groups) > 0 | ||
|
||
first_service_group = service_groups[0] | ||
assert first_service_group is not None | ||
assert isinstance(first_service_group, ServiceGroup) | ||
assert first_service_group.object_id is not None | ||
assert first_service_group.name is not None | ||
assert first_service_group.description is not None | ||
assert first_service_group.flat_rate_currency == 'USD' | ||
|
||
first_service_level = first_service_group.service_levels[0] | ||
assert first_service_level is not None | ||
assert isinstance(first_service_level, ServiceGroupAccountAndServiceLevel) | ||
assert first_service_level.account_object_id is not None | ||
assert first_service_level.service_level_token is not None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
test to cover updates to servicegroup.py
rkeur7
approved these changes
Nov 19, 2024
AdrianCollinsShippo
approved these changes
Nov 19, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i think it's ok
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Important
Linting report available at: https://app.speakeasy.com/org/shippo/shippo/linting-report/9fa16d310060926791fde5b3ffa5fb4a
OpenAPI Change report available at: https://app.speakeasy.com/org/shippo/shippo/changes-report/3c3640450c740129381eab6e207ddd0f
SDK update
Based on:
OpenAPI Change Summary
PYTHON CHANGELOG
core: 4.8.16 - 2024-11-12
🐛 Bug Fixes
core: 5.6.4 - 2024-11-05
🐛 Bug Fixes
core: 5.6.3 - 2024-11-04
🐛 Bug Fixes
core: 5.6.2 - 2024-10-31
🐛 Bug Fixes
Version Bump Type: [patch] - 🤖 (automated)