mypy-boto3-sso-admin 1.35.0__tar.gz → 1.35.93__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.35.93}/LICENSE +1 -1
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.35.93}/PKG-INFO +96 -42
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.35.93}/README.md +91 -38
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.35.93}/mypy_boto3_sso_admin/__init__.py +5 -2
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.35.93}/mypy_boto3_sso_admin/__init__.pyi +4 -2
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.35.93}/mypy_boto3_sso_admin/__main__.py +11 -8
- mypy_boto3_sso_admin-1.35.0/mypy_boto3_sso_admin/client.pyi → mypy_boto3_sso_admin-1.35.93/mypy_boto3_sso_admin/client.py +419 -472
- mypy_boto3_sso_admin-1.35.0/mypy_boto3_sso_admin/client.py → mypy_boto3_sso_admin-1.35.93/mypy_boto3_sso_admin/client.pyi +417 -476
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.35.93}/mypy_boto3_sso_admin/literals.py +32 -9
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.35.93}/mypy_boto3_sso_admin/literals.pyi +30 -9
- mypy_boto3_sso_admin-1.35.93/mypy_boto3_sso_admin/paginator.py +599 -0
- mypy_boto3_sso_admin-1.35.93/mypy_boto3_sso_admin/paginator.pyi +538 -0
- mypy_boto3_sso_admin-1.35.93/mypy_boto3_sso_admin/type_defs.py +1392 -0
- mypy_boto3_sso_admin-1.35.93/mypy_boto3_sso_admin/type_defs.pyi +1194 -0
- mypy_boto3_sso_admin-1.35.93/mypy_boto3_sso_admin/version.py +7 -0
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.35.93}/mypy_boto3_sso_admin.egg-info/PKG-INFO +96 -42
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.35.93}/mypy_boto3_sso_admin.egg-info/requires.txt +1 -1
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.35.93}/setup.py +7 -6
- mypy_boto3_sso_admin-1.35.0/mypy_boto3_sso_admin/paginator.py +0 -479
- mypy_boto3_sso_admin-1.35.0/mypy_boto3_sso_admin/paginator.pyi +0 -458
- mypy_boto3_sso_admin-1.35.0/mypy_boto3_sso_admin/type_defs.py +0 -1795
- mypy_boto3_sso_admin-1.35.0/mypy_boto3_sso_admin/type_defs.pyi +0 -1795
- mypy_boto3_sso_admin-1.35.0/mypy_boto3_sso_admin/version.py +0 -5
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.35.93}/mypy_boto3_sso_admin/py.typed +0 -0
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.35.93}/mypy_boto3_sso_admin.egg-info/SOURCES.txt +0 -0
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.35.93}/mypy_boto3_sso_admin.egg-info/dependency_links.txt +0 -0
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.35.93}/mypy_boto3_sso_admin.egg-info/not-zip-safe +0 -0
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.35.93}/mypy_boto3_sso_admin.egg-info/top_level.txt +0 -0
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.35.93}/setup.cfg +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: mypy-boto3-sso-admin
|
|
3
|
-
Version: 1.35.
|
|
4
|
-
Summary: Type annotations for boto3
|
|
3
|
+
Version: 1.35.93
|
|
4
|
+
Summary: Type annotations for boto3 SSOAdmin 1.35.93 service generated with mypy-boto3-builder 8.8.0
|
|
5
5
|
Home-page: https://github.com/youtype/mypy_boto3_builder
|
|
6
6
|
Author: Vlad Emelianov
|
|
7
7
|
Author-email: vlad.emelianov.nz@gmail.com
|
|
@@ -9,7 +9,7 @@ License: MIT License
|
|
|
9
9
|
Project-URL: Documentation, https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/
|
|
10
10
|
Project-URL: Source, https://github.com/youtype/mypy_boto3_builder
|
|
11
11
|
Project-URL: Tracker, https://github.com/youtype/mypy_boto3_builder/issues
|
|
12
|
-
Keywords: boto3 sso-admin type-annotations
|
|
12
|
+
Keywords: boto3 sso-admin boto3-stubs type-annotations mypy typeshed autocomplete
|
|
13
13
|
Classifier: Development Status :: 5 - Production/Stable
|
|
14
14
|
Classifier: Intended Audience :: Developers
|
|
15
15
|
Classifier: Environment :: Console
|
|
@@ -23,47 +23,48 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
23
23
|
Classifier: Programming Language :: Python :: 3.11
|
|
24
24
|
Classifier: Programming Language :: Python :: 3.12
|
|
25
25
|
Classifier: Programming Language :: Python :: 3.13
|
|
26
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
26
27
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
27
28
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
29
|
Classifier: Typing :: Stubs Only
|
|
29
30
|
Requires-Python: >=3.8
|
|
30
31
|
Description-Content-Type: text/markdown
|
|
31
32
|
License-File: LICENSE
|
|
32
|
-
Requires-Dist: typing-extensions
|
|
33
|
+
Requires-Dist: typing-extensions; python_version < "3.12"
|
|
33
34
|
|
|
34
35
|
<a id="mypy-boto3-sso-admin"></a>
|
|
35
36
|
|
|
36
37
|
# mypy-boto3-sso-admin
|
|
37
38
|
|
|
38
|
-
[](https://pypi.org/project/mypy-boto3-sso-admin)
|
|
39
|
-
[](https://pypi.org/project/mypy-boto3-sso-admin)
|
|
40
|
-
[](https://youtype.github.io/boto3_stubs_docs/
|
|
41
|
-
[](https://
|
|
39
|
+
[](https://pypi.org/project/mypy-boto3-sso-admin/)
|
|
40
|
+
[](https://pypi.org/project/mypy-boto3-sso-admin/)
|
|
41
|
+
[](https://youtype.github.io/boto3_stubs_docs/)
|
|
42
|
+
[](https://pypistats.org/packages/mypy-boto3-sso-admin)
|
|
42
43
|
|
|
43
44
|

|
|
44
45
|
|
|
45
|
-
Type annotations for
|
|
46
|
-
[
|
|
47
|
-
service compatible with [VSCode](https://code.visualstudio.com/),
|
|
46
|
+
Type annotations for [boto3 SSOAdmin 1.35.93](https://pypi.org/project/boto3/)
|
|
47
|
+
compatible with [VSCode](https://code.visualstudio.com/),
|
|
48
48
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
49
49
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
50
50
|
[Sublime Text](https://www.sublimetext.com/),
|
|
51
51
|
[mypy](https://github.com/python/mypy),
|
|
52
52
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
53
53
|
|
|
54
|
-
Generated
|
|
55
|
-
[mypy-boto3-builder
|
|
54
|
+
Generated with
|
|
55
|
+
[mypy-boto3-builder 8.8.0](https://github.com/youtype/mypy_boto3_builder).
|
|
56
56
|
|
|
57
57
|
More information can be found on
|
|
58
58
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
59
59
|
[mypy-boto3-sso-admin docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/).
|
|
60
60
|
|
|
61
|
-
See how it helps
|
|
61
|
+
See how it helps you find and fix potential bugs:
|
|
62
62
|
|
|
63
|
-

|
|
64
64
|
|
|
65
65
|
- [mypy-boto3-sso-admin](#mypy-boto3-sso-admin)
|
|
66
66
|
- [How to install](#how-to-install)
|
|
67
|
+
- [Generate locally (recommended)](<#generate-locally-(recommended)>)
|
|
67
68
|
- [VSCode extension](#vscode-extension)
|
|
68
69
|
- [From PyPI with pip](#from-pypi-with-pip)
|
|
69
70
|
- [How to uninstall](#how-to-uninstall)
|
|
@@ -75,6 +76,7 @@ See how it helps to find and fix potential bugs:
|
|
|
75
76
|
- [Other IDEs](#other-ides)
|
|
76
77
|
- [mypy](#mypy)
|
|
77
78
|
- [pyright](#pyright)
|
|
79
|
+
- [Pylint compatibility](#pylint-compatibility)
|
|
78
80
|
- [Explicit type annotations](#explicit-type-annotations)
|
|
79
81
|
- [Client annotations](#client-annotations)
|
|
80
82
|
- [Paginators annotations](#paginators-annotations)
|
|
@@ -93,6 +95,21 @@ See how it helps to find and fix potential bugs:
|
|
|
93
95
|
|
|
94
96
|
## How to install
|
|
95
97
|
|
|
98
|
+
<a id="generate-locally-(recommended)"></a>
|
|
99
|
+
|
|
100
|
+
### Generate locally (recommended)
|
|
101
|
+
|
|
102
|
+
You can generate type annotations for `boto3` package locally with
|
|
103
|
+
`mypy_boto3_builder`. Use
|
|
104
|
+
[uv](https://docs.astral.sh/uv/getting-started/installation/) for build
|
|
105
|
+
isolation.
|
|
106
|
+
|
|
107
|
+
1. Run mypy-boto3-builder in your package root directory:
|
|
108
|
+
`uvx --with 'boto3==1.35.93' mypy_boto3_builder`
|
|
109
|
+
2. Select `boto3-stubs` AWS SDK.
|
|
110
|
+
3. Add `SSOAdmin` service.
|
|
111
|
+
4. Use provided commands to install generated packages.
|
|
112
|
+
|
|
96
113
|
<a id="vscode-extension"></a>
|
|
97
114
|
|
|
98
115
|
### VSCode extension
|
|
@@ -113,12 +130,10 @@ Install `boto3-stubs` for `SSOAdmin` service.
|
|
|
113
130
|
# install with boto3 type annotations
|
|
114
131
|
python -m pip install 'boto3-stubs[sso-admin]'
|
|
115
132
|
|
|
116
|
-
|
|
117
133
|
# Lite version does not provide session.client/resource overloads
|
|
118
134
|
# it is more RAM-friendly, but requires explicit type annotations
|
|
119
135
|
python -m pip install 'boto3-stubs-lite[sso-admin]'
|
|
120
136
|
|
|
121
|
-
|
|
122
137
|
# standalone installation
|
|
123
138
|
python -m pip install mypy-boto3-sso-admin
|
|
124
139
|
```
|
|
@@ -157,16 +172,31 @@ annotations required, write your `boto3` code as usual.
|
|
|
157
172
|
|
|
158
173
|
### PyCharm
|
|
159
174
|
|
|
160
|
-
|
|
175
|
+
> ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
|
|
176
|
+
> [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
|
|
177
|
+
> to use [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/) until
|
|
178
|
+
> the issue is resolved.
|
|
179
|
+
|
|
180
|
+
> ⚠️ If you experience slow performance and high CPU usage, try to disable
|
|
181
|
+
> `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
|
|
182
|
+
> [pyright](https://github.com/microsoft/pyright) instead.
|
|
183
|
+
|
|
184
|
+
> ⚠️ To continue using `PyCharm` type checker, you can try to replace
|
|
185
|
+
> `boto3-stubs` with
|
|
186
|
+
> [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/):
|
|
161
187
|
|
|
162
188
|
```bash
|
|
163
|
-
|
|
189
|
+
pip uninstall boto3-stubs
|
|
190
|
+
pip install boto3-stubs-lite
|
|
164
191
|
```
|
|
165
192
|
|
|
166
|
-
|
|
167
|
-
annotations **are required**.
|
|
193
|
+
Install `boto3-stubs[sso-admin]` in your environment:
|
|
168
194
|
|
|
169
|
-
|
|
195
|
+
```bash
|
|
196
|
+
python -m pip install 'boto3-stubs[sso-admin]'
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
Both type checking and code completion should now work.
|
|
170
200
|
|
|
171
201
|
<a id="emacs"></a>
|
|
172
202
|
|
|
@@ -230,7 +260,7 @@ should work.
|
|
|
230
260
|
- Install `boto3-stubs[sso-admin]` in your environment:
|
|
231
261
|
|
|
232
262
|
```bash
|
|
233
|
-
python -m pip install 'boto3-stubs[sso-admin]'
|
|
263
|
+
python -m pip install 'boto3-stubs[sso-admin]'
|
|
234
264
|
```
|
|
235
265
|
|
|
236
266
|
Type checking should now work. No explicit type annotations required, write
|
|
@@ -247,11 +277,36 @@ your `boto3` code as usual.
|
|
|
247
277
|
python -m pip install 'boto3-stubs[sso-admin]'
|
|
248
278
|
```
|
|
249
279
|
|
|
250
|
-
Optionally, you can install `boto3-stubs` to `typings`
|
|
280
|
+
Optionally, you can install `boto3-stubs` to `typings` directory.
|
|
251
281
|
|
|
252
282
|
Type checking should now work. No explicit type annotations required, write
|
|
253
283
|
your `boto3` code as usual.
|
|
254
284
|
|
|
285
|
+
<a id="pylint-compatibility"></a>
|
|
286
|
+
|
|
287
|
+
### Pylint compatibility
|
|
288
|
+
|
|
289
|
+
It is totally safe to use `TYPE_CHECKING` flag in order to avoid
|
|
290
|
+
`mypy-boto3-sso-admin` dependency in production. However, there is an issue in
|
|
291
|
+
`pylint` that it complains about undefined variables. To fix it, set all types
|
|
292
|
+
to `object` in non-`TYPE_CHECKING` mode.
|
|
293
|
+
|
|
294
|
+
```python
|
|
295
|
+
from typing import TYPE_CHECKING
|
|
296
|
+
|
|
297
|
+
if TYPE_CHECKING:
|
|
298
|
+
from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
|
|
299
|
+
from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
|
|
300
|
+
from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
|
|
301
|
+
else:
|
|
302
|
+
EC2Client = object
|
|
303
|
+
EC2ServiceResource = object
|
|
304
|
+
BundleTaskCompleteWaiter = object
|
|
305
|
+
DescribeVolumesPaginator = object
|
|
306
|
+
|
|
307
|
+
...
|
|
308
|
+
```
|
|
309
|
+
|
|
255
310
|
<a id="explicit-type-annotations"></a>
|
|
256
311
|
|
|
257
312
|
## Explicit type annotations
|
|
@@ -286,12 +341,12 @@ from mypy_boto3_sso_admin import SSOAdminClient
|
|
|
286
341
|
from mypy_boto3_sso_admin.paginator import (
|
|
287
342
|
ListAccountAssignmentCreationStatusPaginator,
|
|
288
343
|
ListAccountAssignmentDeletionStatusPaginator,
|
|
289
|
-
ListAccountAssignmentsPaginator,
|
|
290
344
|
ListAccountAssignmentsForPrincipalPaginator,
|
|
345
|
+
ListAccountAssignmentsPaginator,
|
|
291
346
|
ListAccountsForProvisionedPermissionSetPaginator,
|
|
292
347
|
ListApplicationAccessScopesPaginator,
|
|
293
|
-
ListApplicationAssignmentsPaginator,
|
|
294
348
|
ListApplicationAssignmentsForPrincipalPaginator,
|
|
349
|
+
ListApplicationAssignmentsPaginator,
|
|
295
350
|
ListApplicationAuthenticationMethodsPaginator,
|
|
296
351
|
ListApplicationGrantsPaginator,
|
|
297
352
|
ListApplicationProvidersPaginator,
|
|
@@ -316,24 +371,24 @@ list_account_assignment_creation_status_paginator: ListAccountAssignmentCreation
|
|
|
316
371
|
list_account_assignment_deletion_status_paginator: ListAccountAssignmentDeletionStatusPaginator = (
|
|
317
372
|
client.get_paginator("list_account_assignment_deletion_status")
|
|
318
373
|
)
|
|
374
|
+
list_account_assignments_for_principal_paginator: ListAccountAssignmentsForPrincipalPaginator = (
|
|
375
|
+
client.get_paginator("list_account_assignments_for_principal")
|
|
376
|
+
)
|
|
319
377
|
list_account_assignments_paginator: ListAccountAssignmentsPaginator = client.get_paginator(
|
|
320
378
|
"list_account_assignments"
|
|
321
379
|
)
|
|
322
|
-
|
|
323
|
-
|
|
380
|
+
list_accounts_for_provisioned_permission_set_paginator: ListAccountsForProvisionedPermissionSetPaginator = client.get_paginator(
|
|
381
|
+
"list_accounts_for_provisioned_permission_set"
|
|
324
382
|
)
|
|
325
|
-
list_accounts_for_provisioned_permission_set_paginator: (
|
|
326
|
-
ListAccountsForProvisionedPermissionSetPaginator
|
|
327
|
-
) = client.get_paginator("list_accounts_for_provisioned_permission_set")
|
|
328
383
|
list_application_access_scopes_paginator: ListApplicationAccessScopesPaginator = (
|
|
329
384
|
client.get_paginator("list_application_access_scopes")
|
|
330
385
|
)
|
|
386
|
+
list_application_assignments_for_principal_paginator: ListApplicationAssignmentsForPrincipalPaginator = client.get_paginator(
|
|
387
|
+
"list_application_assignments_for_principal"
|
|
388
|
+
)
|
|
331
389
|
list_application_assignments_paginator: ListApplicationAssignmentsPaginator = client.get_paginator(
|
|
332
390
|
"list_application_assignments"
|
|
333
391
|
)
|
|
334
|
-
list_application_assignments_for_principal_paginator: (
|
|
335
|
-
ListApplicationAssignmentsForPrincipalPaginator
|
|
336
|
-
) = client.get_paginator("list_application_assignments_for_principal")
|
|
337
392
|
list_application_authentication_methods_paginator: ListApplicationAuthenticationMethodsPaginator = (
|
|
338
393
|
client.get_paginator("list_application_authentication_methods")
|
|
339
394
|
)
|
|
@@ -344,9 +399,9 @@ list_application_providers_paginator: ListApplicationProvidersPaginator = client
|
|
|
344
399
|
"list_application_providers"
|
|
345
400
|
)
|
|
346
401
|
list_applications_paginator: ListApplicationsPaginator = client.get_paginator("list_applications")
|
|
347
|
-
list_customer_managed_policy_references_in_permission_set_paginator: (
|
|
348
|
-
|
|
349
|
-
)
|
|
402
|
+
list_customer_managed_policy_references_in_permission_set_paginator: ListCustomerManagedPolicyReferencesInPermissionSetPaginator = client.get_paginator(
|
|
403
|
+
"list_customer_managed_policy_references_in_permission_set"
|
|
404
|
+
)
|
|
350
405
|
list_instances_paginator: ListInstancesPaginator = client.get_paginator("list_instances")
|
|
351
406
|
list_managed_policies_in_permission_set_paginator: ListManagedPoliciesInPermissionSetPaginator = (
|
|
352
407
|
client.get_paginator("list_managed_policies_in_permission_set")
|
|
@@ -357,9 +412,9 @@ list_permission_set_provisioning_status_paginator: ListPermissionSetProvisioning
|
|
|
357
412
|
list_permission_sets_paginator: ListPermissionSetsPaginator = client.get_paginator(
|
|
358
413
|
"list_permission_sets"
|
|
359
414
|
)
|
|
360
|
-
list_permission_sets_provisioned_to_account_paginator: (
|
|
361
|
-
|
|
362
|
-
)
|
|
415
|
+
list_permission_sets_provisioned_to_account_paginator: ListPermissionSetsProvisionedToAccountPaginator = client.get_paginator(
|
|
416
|
+
"list_permission_sets_provisioned_to_account"
|
|
417
|
+
)
|
|
363
418
|
list_tags_for_resource_paginator: ListTagsForResourcePaginator = client.get_paginator(
|
|
364
419
|
"list_tags_for_resource"
|
|
365
420
|
)
|
|
@@ -417,8 +472,7 @@ updates. It delivers drop-in type annotations for you and makes sure that:
|
|
|
417
472
|
annotations extracted from `botocore` schemas.
|
|
418
473
|
- Type annotations include up-to-date documentation.
|
|
419
474
|
- Link to documentation is provided for every method.
|
|
420
|
-
- Code is processed by [
|
|
421
|
-
[isort](https://github.com/PyCQA/isort) for readability.
|
|
475
|
+
- Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
|
|
422
476
|
|
|
423
477
|
<a id="what's-new"></a>
|
|
424
478
|
|
|
@@ -2,35 +2,35 @@
|
|
|
2
2
|
|
|
3
3
|
# mypy-boto3-sso-admin
|
|
4
4
|
|
|
5
|
-
[](https://pypi.org/project/mypy-boto3-sso-admin)
|
|
6
|
-
[](https://pypi.org/project/mypy-boto3-sso-admin)
|
|
7
|
-
[](https://youtype.github.io/boto3_stubs_docs/
|
|
8
|
-
[](https://
|
|
5
|
+
[](https://pypi.org/project/mypy-boto3-sso-admin/)
|
|
6
|
+
[](https://pypi.org/project/mypy-boto3-sso-admin/)
|
|
7
|
+
[](https://youtype.github.io/boto3_stubs_docs/)
|
|
8
|
+
[](https://pypistats.org/packages/mypy-boto3-sso-admin)
|
|
9
9
|
|
|
10
10
|

|
|
11
11
|
|
|
12
|
-
Type annotations for
|
|
13
|
-
[
|
|
14
|
-
service compatible with [VSCode](https://code.visualstudio.com/),
|
|
12
|
+
Type annotations for [boto3 SSOAdmin 1.35.93](https://pypi.org/project/boto3/)
|
|
13
|
+
compatible with [VSCode](https://code.visualstudio.com/),
|
|
15
14
|
[PyCharm](https://www.jetbrains.com/pycharm/),
|
|
16
15
|
[Emacs](https://www.gnu.org/software/emacs/),
|
|
17
16
|
[Sublime Text](https://www.sublimetext.com/),
|
|
18
17
|
[mypy](https://github.com/python/mypy),
|
|
19
18
|
[pyright](https://github.com/microsoft/pyright) and other tools.
|
|
20
19
|
|
|
21
|
-
Generated
|
|
22
|
-
[mypy-boto3-builder
|
|
20
|
+
Generated with
|
|
21
|
+
[mypy-boto3-builder 8.8.0](https://github.com/youtype/mypy_boto3_builder).
|
|
23
22
|
|
|
24
23
|
More information can be found on
|
|
25
24
|
[boto3-stubs](https://pypi.org/project/boto3-stubs/) page and in
|
|
26
25
|
[mypy-boto3-sso-admin docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/).
|
|
27
26
|
|
|
28
|
-
See how it helps
|
|
27
|
+
See how it helps you find and fix potential bugs:
|
|
29
28
|
|
|
30
|
-

|
|
31
30
|
|
|
32
31
|
- [mypy-boto3-sso-admin](#mypy-boto3-sso-admin)
|
|
33
32
|
- [How to install](#how-to-install)
|
|
33
|
+
- [Generate locally (recommended)](<#generate-locally-(recommended)>)
|
|
34
34
|
- [VSCode extension](#vscode-extension)
|
|
35
35
|
- [From PyPI with pip](#from-pypi-with-pip)
|
|
36
36
|
- [How to uninstall](#how-to-uninstall)
|
|
@@ -42,6 +42,7 @@ See how it helps to find and fix potential bugs:
|
|
|
42
42
|
- [Other IDEs](#other-ides)
|
|
43
43
|
- [mypy](#mypy)
|
|
44
44
|
- [pyright](#pyright)
|
|
45
|
+
- [Pylint compatibility](#pylint-compatibility)
|
|
45
46
|
- [Explicit type annotations](#explicit-type-annotations)
|
|
46
47
|
- [Client annotations](#client-annotations)
|
|
47
48
|
- [Paginators annotations](#paginators-annotations)
|
|
@@ -60,6 +61,21 @@ See how it helps to find and fix potential bugs:
|
|
|
60
61
|
|
|
61
62
|
## How to install
|
|
62
63
|
|
|
64
|
+
<a id="generate-locally-(recommended)"></a>
|
|
65
|
+
|
|
66
|
+
### Generate locally (recommended)
|
|
67
|
+
|
|
68
|
+
You can generate type annotations for `boto3` package locally with
|
|
69
|
+
`mypy_boto3_builder`. Use
|
|
70
|
+
[uv](https://docs.astral.sh/uv/getting-started/installation/) for build
|
|
71
|
+
isolation.
|
|
72
|
+
|
|
73
|
+
1. Run mypy-boto3-builder in your package root directory:
|
|
74
|
+
`uvx --with 'boto3==1.35.93' mypy_boto3_builder`
|
|
75
|
+
2. Select `boto3-stubs` AWS SDK.
|
|
76
|
+
3. Add `SSOAdmin` service.
|
|
77
|
+
4. Use provided commands to install generated packages.
|
|
78
|
+
|
|
63
79
|
<a id="vscode-extension"></a>
|
|
64
80
|
|
|
65
81
|
### VSCode extension
|
|
@@ -80,12 +96,10 @@ Install `boto3-stubs` for `SSOAdmin` service.
|
|
|
80
96
|
# install with boto3 type annotations
|
|
81
97
|
python -m pip install 'boto3-stubs[sso-admin]'
|
|
82
98
|
|
|
83
|
-
|
|
84
99
|
# Lite version does not provide session.client/resource overloads
|
|
85
100
|
# it is more RAM-friendly, but requires explicit type annotations
|
|
86
101
|
python -m pip install 'boto3-stubs-lite[sso-admin]'
|
|
87
102
|
|
|
88
|
-
|
|
89
103
|
# standalone installation
|
|
90
104
|
python -m pip install mypy-boto3-sso-admin
|
|
91
105
|
```
|
|
@@ -124,16 +138,31 @@ annotations required, write your `boto3` code as usual.
|
|
|
124
138
|
|
|
125
139
|
### PyCharm
|
|
126
140
|
|
|
127
|
-
|
|
141
|
+
> ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
|
|
142
|
+
> [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
|
|
143
|
+
> to use [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/) until
|
|
144
|
+
> the issue is resolved.
|
|
145
|
+
|
|
146
|
+
> ⚠️ If you experience slow performance and high CPU usage, try to disable
|
|
147
|
+
> `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
|
|
148
|
+
> [pyright](https://github.com/microsoft/pyright) instead.
|
|
149
|
+
|
|
150
|
+
> ⚠️ To continue using `PyCharm` type checker, you can try to replace
|
|
151
|
+
> `boto3-stubs` with
|
|
152
|
+
> [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/):
|
|
128
153
|
|
|
129
154
|
```bash
|
|
130
|
-
|
|
155
|
+
pip uninstall boto3-stubs
|
|
156
|
+
pip install boto3-stubs-lite
|
|
131
157
|
```
|
|
132
158
|
|
|
133
|
-
|
|
134
|
-
annotations **are required**.
|
|
159
|
+
Install `boto3-stubs[sso-admin]` in your environment:
|
|
135
160
|
|
|
136
|
-
|
|
161
|
+
```bash
|
|
162
|
+
python -m pip install 'boto3-stubs[sso-admin]'
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
Both type checking and code completion should now work.
|
|
137
166
|
|
|
138
167
|
<a id="emacs"></a>
|
|
139
168
|
|
|
@@ -197,7 +226,7 @@ should work.
|
|
|
197
226
|
- Install `boto3-stubs[sso-admin]` in your environment:
|
|
198
227
|
|
|
199
228
|
```bash
|
|
200
|
-
python -m pip install 'boto3-stubs[sso-admin]'
|
|
229
|
+
python -m pip install 'boto3-stubs[sso-admin]'
|
|
201
230
|
```
|
|
202
231
|
|
|
203
232
|
Type checking should now work. No explicit type annotations required, write
|
|
@@ -214,11 +243,36 @@ your `boto3` code as usual.
|
|
|
214
243
|
python -m pip install 'boto3-stubs[sso-admin]'
|
|
215
244
|
```
|
|
216
245
|
|
|
217
|
-
Optionally, you can install `boto3-stubs` to `typings`
|
|
246
|
+
Optionally, you can install `boto3-stubs` to `typings` directory.
|
|
218
247
|
|
|
219
248
|
Type checking should now work. No explicit type annotations required, write
|
|
220
249
|
your `boto3` code as usual.
|
|
221
250
|
|
|
251
|
+
<a id="pylint-compatibility"></a>
|
|
252
|
+
|
|
253
|
+
### Pylint compatibility
|
|
254
|
+
|
|
255
|
+
It is totally safe to use `TYPE_CHECKING` flag in order to avoid
|
|
256
|
+
`mypy-boto3-sso-admin` dependency in production. However, there is an issue in
|
|
257
|
+
`pylint` that it complains about undefined variables. To fix it, set all types
|
|
258
|
+
to `object` in non-`TYPE_CHECKING` mode.
|
|
259
|
+
|
|
260
|
+
```python
|
|
261
|
+
from typing import TYPE_CHECKING
|
|
262
|
+
|
|
263
|
+
if TYPE_CHECKING:
|
|
264
|
+
from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
|
|
265
|
+
from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
|
|
266
|
+
from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
|
|
267
|
+
else:
|
|
268
|
+
EC2Client = object
|
|
269
|
+
EC2ServiceResource = object
|
|
270
|
+
BundleTaskCompleteWaiter = object
|
|
271
|
+
DescribeVolumesPaginator = object
|
|
272
|
+
|
|
273
|
+
...
|
|
274
|
+
```
|
|
275
|
+
|
|
222
276
|
<a id="explicit-type-annotations"></a>
|
|
223
277
|
|
|
224
278
|
## Explicit type annotations
|
|
@@ -253,12 +307,12 @@ from mypy_boto3_sso_admin import SSOAdminClient
|
|
|
253
307
|
from mypy_boto3_sso_admin.paginator import (
|
|
254
308
|
ListAccountAssignmentCreationStatusPaginator,
|
|
255
309
|
ListAccountAssignmentDeletionStatusPaginator,
|
|
256
|
-
ListAccountAssignmentsPaginator,
|
|
257
310
|
ListAccountAssignmentsForPrincipalPaginator,
|
|
311
|
+
ListAccountAssignmentsPaginator,
|
|
258
312
|
ListAccountsForProvisionedPermissionSetPaginator,
|
|
259
313
|
ListApplicationAccessScopesPaginator,
|
|
260
|
-
ListApplicationAssignmentsPaginator,
|
|
261
314
|
ListApplicationAssignmentsForPrincipalPaginator,
|
|
315
|
+
ListApplicationAssignmentsPaginator,
|
|
262
316
|
ListApplicationAuthenticationMethodsPaginator,
|
|
263
317
|
ListApplicationGrantsPaginator,
|
|
264
318
|
ListApplicationProvidersPaginator,
|
|
@@ -283,24 +337,24 @@ list_account_assignment_creation_status_paginator: ListAccountAssignmentCreation
|
|
|
283
337
|
list_account_assignment_deletion_status_paginator: ListAccountAssignmentDeletionStatusPaginator = (
|
|
284
338
|
client.get_paginator("list_account_assignment_deletion_status")
|
|
285
339
|
)
|
|
340
|
+
list_account_assignments_for_principal_paginator: ListAccountAssignmentsForPrincipalPaginator = (
|
|
341
|
+
client.get_paginator("list_account_assignments_for_principal")
|
|
342
|
+
)
|
|
286
343
|
list_account_assignments_paginator: ListAccountAssignmentsPaginator = client.get_paginator(
|
|
287
344
|
"list_account_assignments"
|
|
288
345
|
)
|
|
289
|
-
|
|
290
|
-
|
|
346
|
+
list_accounts_for_provisioned_permission_set_paginator: ListAccountsForProvisionedPermissionSetPaginator = client.get_paginator(
|
|
347
|
+
"list_accounts_for_provisioned_permission_set"
|
|
291
348
|
)
|
|
292
|
-
list_accounts_for_provisioned_permission_set_paginator: (
|
|
293
|
-
ListAccountsForProvisionedPermissionSetPaginator
|
|
294
|
-
) = client.get_paginator("list_accounts_for_provisioned_permission_set")
|
|
295
349
|
list_application_access_scopes_paginator: ListApplicationAccessScopesPaginator = (
|
|
296
350
|
client.get_paginator("list_application_access_scopes")
|
|
297
351
|
)
|
|
352
|
+
list_application_assignments_for_principal_paginator: ListApplicationAssignmentsForPrincipalPaginator = client.get_paginator(
|
|
353
|
+
"list_application_assignments_for_principal"
|
|
354
|
+
)
|
|
298
355
|
list_application_assignments_paginator: ListApplicationAssignmentsPaginator = client.get_paginator(
|
|
299
356
|
"list_application_assignments"
|
|
300
357
|
)
|
|
301
|
-
list_application_assignments_for_principal_paginator: (
|
|
302
|
-
ListApplicationAssignmentsForPrincipalPaginator
|
|
303
|
-
) = client.get_paginator("list_application_assignments_for_principal")
|
|
304
358
|
list_application_authentication_methods_paginator: ListApplicationAuthenticationMethodsPaginator = (
|
|
305
359
|
client.get_paginator("list_application_authentication_methods")
|
|
306
360
|
)
|
|
@@ -311,9 +365,9 @@ list_application_providers_paginator: ListApplicationProvidersPaginator = client
|
|
|
311
365
|
"list_application_providers"
|
|
312
366
|
)
|
|
313
367
|
list_applications_paginator: ListApplicationsPaginator = client.get_paginator("list_applications")
|
|
314
|
-
list_customer_managed_policy_references_in_permission_set_paginator: (
|
|
315
|
-
|
|
316
|
-
)
|
|
368
|
+
list_customer_managed_policy_references_in_permission_set_paginator: ListCustomerManagedPolicyReferencesInPermissionSetPaginator = client.get_paginator(
|
|
369
|
+
"list_customer_managed_policy_references_in_permission_set"
|
|
370
|
+
)
|
|
317
371
|
list_instances_paginator: ListInstancesPaginator = client.get_paginator("list_instances")
|
|
318
372
|
list_managed_policies_in_permission_set_paginator: ListManagedPoliciesInPermissionSetPaginator = (
|
|
319
373
|
client.get_paginator("list_managed_policies_in_permission_set")
|
|
@@ -324,9 +378,9 @@ list_permission_set_provisioning_status_paginator: ListPermissionSetProvisioning
|
|
|
324
378
|
list_permission_sets_paginator: ListPermissionSetsPaginator = client.get_paginator(
|
|
325
379
|
"list_permission_sets"
|
|
326
380
|
)
|
|
327
|
-
list_permission_sets_provisioned_to_account_paginator: (
|
|
328
|
-
|
|
329
|
-
)
|
|
381
|
+
list_permission_sets_provisioned_to_account_paginator: ListPermissionSetsProvisionedToAccountPaginator = client.get_paginator(
|
|
382
|
+
"list_permission_sets_provisioned_to_account"
|
|
383
|
+
)
|
|
330
384
|
list_tags_for_resource_paginator: ListTagsForResourcePaginator = client.get_paginator(
|
|
331
385
|
"list_tags_for_resource"
|
|
332
386
|
)
|
|
@@ -384,8 +438,7 @@ updates. It delivers drop-in type annotations for you and makes sure that:
|
|
|
384
438
|
annotations extracted from `botocore` schemas.
|
|
385
439
|
- Type annotations include up-to-date documentation.
|
|
386
440
|
- Link to documentation is provided for every method.
|
|
387
|
-
- Code is processed by [
|
|
388
|
-
[isort](https://github.com/PyCQA/isort) for readability.
|
|
441
|
+
- Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
|
|
389
442
|
|
|
390
443
|
<a id="what's-new"></a>
|
|
391
444
|
|
{mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.35.93}/mypy_boto3_sso_admin/__init__.py
RENAMED
|
@@ -35,12 +35,12 @@ Usage::
|
|
|
35
35
|
|
|
36
36
|
list_account_assignment_creation_status_paginator: ListAccountAssignmentCreationStatusPaginator = client.get_paginator("list_account_assignment_creation_status")
|
|
37
37
|
list_account_assignment_deletion_status_paginator: ListAccountAssignmentDeletionStatusPaginator = client.get_paginator("list_account_assignment_deletion_status")
|
|
38
|
-
list_account_assignments_paginator: ListAccountAssignmentsPaginator = client.get_paginator("list_account_assignments")
|
|
39
38
|
list_account_assignments_for_principal_paginator: ListAccountAssignmentsForPrincipalPaginator = client.get_paginator("list_account_assignments_for_principal")
|
|
39
|
+
list_account_assignments_paginator: ListAccountAssignmentsPaginator = client.get_paginator("list_account_assignments")
|
|
40
40
|
list_accounts_for_provisioned_permission_set_paginator: ListAccountsForProvisionedPermissionSetPaginator = client.get_paginator("list_accounts_for_provisioned_permission_set")
|
|
41
41
|
list_application_access_scopes_paginator: ListApplicationAccessScopesPaginator = client.get_paginator("list_application_access_scopes")
|
|
42
|
-
list_application_assignments_paginator: ListApplicationAssignmentsPaginator = client.get_paginator("list_application_assignments")
|
|
43
42
|
list_application_assignments_for_principal_paginator: ListApplicationAssignmentsForPrincipalPaginator = client.get_paginator("list_application_assignments_for_principal")
|
|
43
|
+
list_application_assignments_paginator: ListApplicationAssignmentsPaginator = client.get_paginator("list_application_assignments")
|
|
44
44
|
list_application_authentication_methods_paginator: ListApplicationAuthenticationMethodsPaginator = client.get_paginator("list_application_authentication_methods")
|
|
45
45
|
list_application_grants_paginator: ListApplicationGrantsPaginator = client.get_paginator("list_application_grants")
|
|
46
46
|
list_application_providers_paginator: ListApplicationProvidersPaginator = client.get_paginator("list_application_providers")
|
|
@@ -54,6 +54,8 @@ Usage::
|
|
|
54
54
|
list_tags_for_resource_paginator: ListTagsForResourcePaginator = client.get_paginator("list_tags_for_resource")
|
|
55
55
|
list_trusted_token_issuers_paginator: ListTrustedTokenIssuersPaginator = client.get_paginator("list_trusted_token_issuers")
|
|
56
56
|
```
|
|
57
|
+
|
|
58
|
+
Copyright 2025 Vlad Emelianov
|
|
57
59
|
"""
|
|
58
60
|
|
|
59
61
|
from .client import SSOAdminClient
|
|
@@ -82,6 +84,7 @@ from .paginator import (
|
|
|
82
84
|
|
|
83
85
|
Client = SSOAdminClient
|
|
84
86
|
|
|
87
|
+
|
|
85
88
|
__all__ = (
|
|
86
89
|
"Client",
|
|
87
90
|
"ListAccountAssignmentCreationStatusPaginator",
|
{mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.35.93}/mypy_boto3_sso_admin/__init__.pyi
RENAMED
|
@@ -35,12 +35,12 @@ Usage::
|
|
|
35
35
|
|
|
36
36
|
list_account_assignment_creation_status_paginator: ListAccountAssignmentCreationStatusPaginator = client.get_paginator("list_account_assignment_creation_status")
|
|
37
37
|
list_account_assignment_deletion_status_paginator: ListAccountAssignmentDeletionStatusPaginator = client.get_paginator("list_account_assignment_deletion_status")
|
|
38
|
-
list_account_assignments_paginator: ListAccountAssignmentsPaginator = client.get_paginator("list_account_assignments")
|
|
39
38
|
list_account_assignments_for_principal_paginator: ListAccountAssignmentsForPrincipalPaginator = client.get_paginator("list_account_assignments_for_principal")
|
|
39
|
+
list_account_assignments_paginator: ListAccountAssignmentsPaginator = client.get_paginator("list_account_assignments")
|
|
40
40
|
list_accounts_for_provisioned_permission_set_paginator: ListAccountsForProvisionedPermissionSetPaginator = client.get_paginator("list_accounts_for_provisioned_permission_set")
|
|
41
41
|
list_application_access_scopes_paginator: ListApplicationAccessScopesPaginator = client.get_paginator("list_application_access_scopes")
|
|
42
|
-
list_application_assignments_paginator: ListApplicationAssignmentsPaginator = client.get_paginator("list_application_assignments")
|
|
43
42
|
list_application_assignments_for_principal_paginator: ListApplicationAssignmentsForPrincipalPaginator = client.get_paginator("list_application_assignments_for_principal")
|
|
43
|
+
list_application_assignments_paginator: ListApplicationAssignmentsPaginator = client.get_paginator("list_application_assignments")
|
|
44
44
|
list_application_authentication_methods_paginator: ListApplicationAuthenticationMethodsPaginator = client.get_paginator("list_application_authentication_methods")
|
|
45
45
|
list_application_grants_paginator: ListApplicationGrantsPaginator = client.get_paginator("list_application_grants")
|
|
46
46
|
list_application_providers_paginator: ListApplicationProvidersPaginator = client.get_paginator("list_application_providers")
|
|
@@ -54,6 +54,8 @@ Usage::
|
|
|
54
54
|
list_tags_for_resource_paginator: ListTagsForResourcePaginator = client.get_paginator("list_tags_for_resource")
|
|
55
55
|
list_trusted_token_issuers_paginator: ListTrustedTokenIssuersPaginator = client.get_paginator("list_trusted_token_issuers")
|
|
56
56
|
```
|
|
57
|
+
|
|
58
|
+
Copyright 2025 Vlad Emelianov
|
|
57
59
|
"""
|
|
58
60
|
|
|
59
61
|
from .client import SSOAdminClient
|
{mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.35.93}/mypy_boto3_sso_admin/__main__.py
RENAMED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"""
|
|
2
2
|
Main CLI entrypoint.
|
|
3
|
+
|
|
4
|
+
Copyright 2025 Vlad Emelianov
|
|
3
5
|
"""
|
|
4
6
|
|
|
5
7
|
import sys
|
|
@@ -9,14 +11,14 @@ def print_info() -> None:
|
|
|
9
11
|
"""
|
|
10
12
|
Print package info to stdout.
|
|
11
13
|
"""
|
|
12
|
-
|
|
13
|
-
"Type annotations for boto3
|
|
14
|
-
"Version: 1.35.
|
|
15
|
-
"Builder version:
|
|
14
|
+
sys.stdout.write(
|
|
15
|
+
"Type annotations for boto3 SSOAdmin 1.35.93\n"
|
|
16
|
+
"Version: 1.35.93\n"
|
|
17
|
+
"Builder version: 8.8.0\n"
|
|
16
18
|
"Docs: https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin//\n"
|
|
17
|
-
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#
|
|
19
|
+
"Boto3 docs: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#ssoadmin\n"
|
|
18
20
|
"Other services: https://pypi.org/project/boto3-stubs/\n"
|
|
19
|
-
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases"
|
|
21
|
+
"Changelog: https://github.com/youtype/mypy_boto3_builder/releases\n"
|
|
20
22
|
)
|
|
21
23
|
|
|
22
24
|
|
|
@@ -24,7 +26,7 @@ def print_version() -> None:
|
|
|
24
26
|
"""
|
|
25
27
|
Print package version to stdout.
|
|
26
28
|
"""
|
|
27
|
-
|
|
29
|
+
sys.stdout.write("1.35.93\n")
|
|
28
30
|
|
|
29
31
|
|
|
30
32
|
def main() -> None:
|
|
@@ -32,7 +34,8 @@ def main() -> None:
|
|
|
32
34
|
Main CLI entrypoint.
|
|
33
35
|
"""
|
|
34
36
|
if "--version" in sys.argv:
|
|
35
|
-
|
|
37
|
+
print_version()
|
|
38
|
+
return
|
|
36
39
|
print_info()
|
|
37
40
|
|
|
38
41
|
|