Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Commit f11c19b

Browse files
chore: release 0.2.0 (#10)
* chore: release 0.2.0 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/master/packages/owl-bot/README.md Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent b447260 commit f11c19b

File tree

38 files changed

+49
-5773
lines changed

38 files changed

+49
-5773
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,22 @@
11
# Changelog
22

3+
## [0.2.0](https://www.github.com/googleapis/python-shell/compare/v0.1.0...v0.2.0) (2021-07-01)
4+
5+
6+
### Features
7+
8+
* add always_use_jwt_access ([#9](https://www.github.com/googleapis/python-shell/issues/9)) ([13ce7ba](https://www.github.com/googleapis/python-shell/commit/13ce7bab4613f287a73743d80d1bbbee5c59969a))
9+
10+
11+
### Bug Fixes
12+
13+
* disable always_use_jwt_access ([b447260](https://www.github.com/googleapis/python-shell/commit/b4472606f4eb050b9135d5dd948d65ae065a1e04))
14+
15+
16+
### Documentation
17+
18+
* omit mention of Python 2.7 in 'CONTRIBUTING.rst' ([#1127](https://www.github.com/googleapis/python-shell/issues/1127)) ([#4](https://www.github.com/googleapis/python-shell/issues/4)) ([0150a5d](https://www.github.com/googleapis/python-shell/commit/0150a5d71e22b6aeb194cd2992d58ed03683d1ca)), closes [#1126](https://www.github.com/googleapis/python-shell/issues/1126)
19+
320
## 0.1.0 (2021-06-13)
421

522

google/cloud/shell_v1/services/cloud_shell_service/transports/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def __init__(
9898
scopes_kwargs = self._get_scopes_kwargs(self._host, scopes)
9999

100100
# Save the scopes.
101-
self._scopes = scopes or self.AUTH_SCOPES
101+
self._scopes = scopes
102102

103103
# If no credentials are provided, then determine the appropriate
104104
# defaults.

google/cloud/shell_v1/services/cloud_shell_service/transports/grpc.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ def __init__(
6666
client_cert_source_for_mtls: Callable[[], Tuple[bytes, bytes]] = None,
6767
quota_project_id: Optional[str] = None,
6868
client_info: gapic_v1.client_info.ClientInfo = DEFAULT_CLIENT_INFO,
69+
always_use_jwt_access: Optional[bool] = False,
6970
) -> None:
7071
"""Instantiate the transport.
7172
@@ -106,6 +107,8 @@ def __init__(
106107
API requests. If ``None``, then default info will be used.
107108
Generally, you only need to set this if you're developing
108109
your own client library.
110+
always_use_jwt_access (Optional[bool]): Whether self signed JWT should
111+
be used for service account credentials.
109112
110113
Raises:
111114
google.auth.exceptions.MutualTLSChannelError: If mutual TLS transport
@@ -159,7 +162,7 @@ def __init__(
159162
scopes=scopes,
160163
quota_project_id=quota_project_id,
161164
client_info=client_info,
162-
always_use_jwt_access=True,
165+
always_use_jwt_access=always_use_jwt_access,
163166
)
164167

165168
if not self._grpc_channel:

google/cloud/shell_v1/services/cloud_shell_service/transports/grpc_asyncio.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ def __init__(
112112
client_cert_source_for_mtls: Callable[[], Tuple[bytes, bytes]] = None,
113113
quota_project_id=None,
114114
client_info: gapic_v1.client_info.ClientInfo = DEFAULT_CLIENT_INFO,
115+
always_use_jwt_access: Optional[bool] = False,
115116
) -> None:
116117
"""Instantiate the transport.
117118
@@ -153,6 +154,8 @@ def __init__(
153154
API requests. If ``None``, then default info will be used.
154155
Generally, you only need to set this if you're developing
155156
your own client library.
157+
always_use_jwt_access (Optional[bool]): Whether self signed JWT should
158+
be used for service account credentials.
156159
157160
Raises:
158161
google.auth.exceptions.MutualTlsChannelError: If mutual TLS transport
@@ -205,7 +208,7 @@ def __init__(
205208
scopes=scopes,
206209
quota_project_id=quota_project_id,
207210
client_info=client_info,
208-
always_use_jwt_access=True,
211+
always_use_jwt_access=always_use_jwt_access,
209212
)
210213

211214
if not self._grpc_channel:

owl-bot-staging/v1/.coveragerc

Lines changed: 0 additions & 17 deletions
This file was deleted.

owl-bot-staging/v1/MANIFEST.in

Lines changed: 0 additions & 2 deletions
This file was deleted.

owl-bot-staging/v1/README.rst

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)