Skip to content

refactor: update typehints for servicedirectory samples #9969

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

Merged
merged 6 commits into from
May 16, 2023

Conversation

Sita04
Copy link
Collaborator

@Sita04 Sita04 commented May 16, 2023

Description

b/280879439 : Update typehints for service directory samples.

Checklist

@Sita04 Sita04 requested review from a team as code owners May 16, 2023 16:46
@product-auto-label product-auto-label bot added samples Issues that are directly related to samples. api: servicedirectory Issues related to the Service Directory API. labels May 16, 2023
@@ -17,24 +17,24 @@
from os import environ
import uuid

from _pytest.capture import CaptureFixture
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prefer testing a response instead of captured output. Functions that just print a message can return a status indicating success or failure.

@engelke engelke merged commit a5d5630 into main May 16, 2023
@engelke engelke deleted the servicedirectory-typehints branch May 16, 2023 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: servicedirectory Issues related to the Service Directory API. samples Issues that are directly related to samples.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants