-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update according to code reviews
- Loading branch information
1 parent
0179902
commit c160605
Showing
3 changed files
with
50 additions
and
26 deletions.
There are no files selected for viewing
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
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
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
The fields with defaults other than None shouldn't be typed as
Optional
, because they'll never be None, and we don't want the type annotation to say "you have to check thatspec.attributes is not None
before you access it. So let's remove theOptional
that you added to the type annotation fromattributes
,redacted
,ca_certificates
,skip_tls_verify
, andis_controller_cloud
.Other than that, this looks good now!