mypy-boto3-sso-admin 1.35.0__tar.gz → 1.36.0__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.36.0}/LICENSE +1 -1
- {mypy_boto3_sso_admin-1.35.0/mypy_boto3_sso_admin.egg-info → mypy_boto3_sso_admin-1.36.0}/PKG-INFO +109 -43
- mypy_boto3_sso_admin-1.35.0/PKG-INFO → mypy_boto3_sso_admin-1.36.0/README.md +91 -71
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.36.0}/mypy_boto3_sso_admin/__init__.py +5 -2
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.36.0}/mypy_boto3_sso_admin/__init__.pyi +4 -2
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.36.0}/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.36.0/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.36.0/mypy_boto3_sso_admin/client.pyi +417 -476
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.36.0}/mypy_boto3_sso_admin/literals.py +32 -11
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.36.0}/mypy_boto3_sso_admin/literals.pyi +30 -11
- mypy_boto3_sso_admin-1.36.0/mypy_boto3_sso_admin/paginator.py +599 -0
- mypy_boto3_sso_admin-1.36.0/mypy_boto3_sso_admin/paginator.pyi +538 -0
- mypy_boto3_sso_admin-1.36.0/mypy_boto3_sso_admin/type_defs.py +1392 -0
- mypy_boto3_sso_admin-1.36.0/mypy_boto3_sso_admin/type_defs.pyi +1194 -0
- mypy_boto3_sso_admin-1.36.0/mypy_boto3_sso_admin/version.py +7 -0
- mypy_boto3_sso_admin-1.35.0/README.md → mypy_boto3_sso_admin-1.36.0/mypy_boto3_sso_admin.egg-info/PKG-INFO +137 -38
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.36.0}/mypy_boto3_sso_admin.egg-info/requires.txt +1 -1
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.36.0}/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.36.0}/mypy_boto3_sso_admin/py.typed +0 -0
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.36.0}/mypy_boto3_sso_admin.egg-info/SOURCES.txt +0 -0
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.36.0}/mypy_boto3_sso_admin.egg-info/dependency_links.txt +0 -0
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.36.0}/mypy_boto3_sso_admin.egg-info/not-zip-safe +0 -0
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.36.0}/mypy_boto3_sso_admin.egg-info/top_level.txt +0 -0
- {mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.36.0}/setup.cfg +0 -0
{mypy_boto3_sso_admin-1.35.0/mypy_boto3_sso_admin.egg-info → mypy_boto3_sso_admin-1.36.0}/PKG-INFO
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: mypy-boto3-sso-admin
|
|
3
|
-
Version: 1.
|
|
4
|
-
Summary: Type annotations for boto3
|
|
3
|
+
Version: 1.36.0
|
|
4
|
+
Summary: Type annotations for boto3 SSOAdmin 1.36.0 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,60 @@ 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"
|
|
34
|
+
Dynamic: author
|
|
35
|
+
Dynamic: author-email
|
|
36
|
+
Dynamic: classifier
|
|
37
|
+
Dynamic: description
|
|
38
|
+
Dynamic: description-content-type
|
|
39
|
+
Dynamic: home-page
|
|
40
|
+
Dynamic: keywords
|
|
41
|
+
Dynamic: license
|
|
42
|
+
Dynamic: project-url
|
|
43
|
+
Dynamic: requires-dist
|
|
44
|
+
Dynamic: requires-python
|
|
45
|
+
Dynamic: summary
|
|
33
46
|
|
|
34
47
|
<a id="mypy-boto3-sso-admin"></a>
|
|
35
48
|
|
|
36
49
|
# mypy-boto3-sso-admin
|
|
37
50
|
|
|
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://
|
|
51
|
+
[](https://pypi.org/project/mypy-boto3-sso-admin/)
|
|
52
|
+
[](https://pypi.org/project/mypy-boto3-sso-admin/)
|
|
53
|
+
[](https://youtype.github.io/boto3_stubs_docs/)
|
|
54
|
+
[](https://pypistats.org/packages/mypy-boto3-sso-admin)
|
|
42
55
|
|
|
43
56
|

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

|
|
64
76
|
|
|
65
77
|
- [mypy-boto3-sso-admin](#mypy-boto3-sso-admin)
|
|
66
78
|
- [How to install](#how-to-install)
|
|
79
|
+
- [Generate locally (recommended)](<#generate-locally-(recommended)>)
|
|
67
80
|
- [VSCode extension](#vscode-extension)
|
|
68
81
|
- [From PyPI with pip](#from-pypi-with-pip)
|
|
69
82
|
- [How to uninstall](#how-to-uninstall)
|
|
@@ -75,6 +88,7 @@ See how it helps to find and fix potential bugs:
|
|
|
75
88
|
- [Other IDEs](#other-ides)
|
|
76
89
|
- [mypy](#mypy)
|
|
77
90
|
- [pyright](#pyright)
|
|
91
|
+
- [Pylint compatibility](#pylint-compatibility)
|
|
78
92
|
- [Explicit type annotations](#explicit-type-annotations)
|
|
79
93
|
- [Client annotations](#client-annotations)
|
|
80
94
|
- [Paginators annotations](#paginators-annotations)
|
|
@@ -93,6 +107,21 @@ See how it helps to find and fix potential bugs:
|
|
|
93
107
|
|
|
94
108
|
## How to install
|
|
95
109
|
|
|
110
|
+
<a id="generate-locally-(recommended)"></a>
|
|
111
|
+
|
|
112
|
+
### Generate locally (recommended)
|
|
113
|
+
|
|
114
|
+
You can generate type annotations for `boto3` package locally with
|
|
115
|
+
`mypy_boto3_builder`. Use
|
|
116
|
+
[uv](https://docs.astral.sh/uv/getting-started/installation/) for build
|
|
117
|
+
isolation.
|
|
118
|
+
|
|
119
|
+
1. Run mypy-boto3-builder in your package root directory:
|
|
120
|
+
`uvx --with 'boto3==1.36.0' mypy_boto3_builder`
|
|
121
|
+
2. Select `boto3-stubs` AWS SDK.
|
|
122
|
+
3. Add `SSOAdmin` service.
|
|
123
|
+
4. Use provided commands to install generated packages.
|
|
124
|
+
|
|
96
125
|
<a id="vscode-extension"></a>
|
|
97
126
|
|
|
98
127
|
### VSCode extension
|
|
@@ -113,12 +142,10 @@ Install `boto3-stubs` for `SSOAdmin` service.
|
|
|
113
142
|
# install with boto3 type annotations
|
|
114
143
|
python -m pip install 'boto3-stubs[sso-admin]'
|
|
115
144
|
|
|
116
|
-
|
|
117
145
|
# Lite version does not provide session.client/resource overloads
|
|
118
146
|
# it is more RAM-friendly, but requires explicit type annotations
|
|
119
147
|
python -m pip install 'boto3-stubs-lite[sso-admin]'
|
|
120
148
|
|
|
121
|
-
|
|
122
149
|
# standalone installation
|
|
123
150
|
python -m pip install mypy-boto3-sso-admin
|
|
124
151
|
```
|
|
@@ -157,16 +184,31 @@ annotations required, write your `boto3` code as usual.
|
|
|
157
184
|
|
|
158
185
|
### PyCharm
|
|
159
186
|
|
|
160
|
-
|
|
187
|
+
> ⚠️ Due to slow PyCharm performance on `Literal` overloads (issue
|
|
188
|
+
> [PY-40997](https://youtrack.jetbrains.com/issue/PY-40997)), it is recommended
|
|
189
|
+
> to use [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/) until
|
|
190
|
+
> the issue is resolved.
|
|
191
|
+
|
|
192
|
+
> ⚠️ If you experience slow performance and high CPU usage, try to disable
|
|
193
|
+
> `PyCharm` type checker and use [mypy](https://github.com/python/mypy) or
|
|
194
|
+
> [pyright](https://github.com/microsoft/pyright) instead.
|
|
195
|
+
|
|
196
|
+
> ⚠️ To continue using `PyCharm` type checker, you can try to replace
|
|
197
|
+
> `boto3-stubs` with
|
|
198
|
+
> [boto3-stubs-lite](https://pypi.org/project/boto3-stubs-lite/):
|
|
161
199
|
|
|
162
200
|
```bash
|
|
163
|
-
|
|
201
|
+
pip uninstall boto3-stubs
|
|
202
|
+
pip install boto3-stubs-lite
|
|
164
203
|
```
|
|
165
204
|
|
|
166
|
-
|
|
167
|
-
annotations **are required**.
|
|
205
|
+
Install `boto3-stubs[sso-admin]` in your environment:
|
|
168
206
|
|
|
169
|
-
|
|
207
|
+
```bash
|
|
208
|
+
python -m pip install 'boto3-stubs[sso-admin]'
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
Both type checking and code completion should now work.
|
|
170
212
|
|
|
171
213
|
<a id="emacs"></a>
|
|
172
214
|
|
|
@@ -230,7 +272,7 @@ should work.
|
|
|
230
272
|
- Install `boto3-stubs[sso-admin]` in your environment:
|
|
231
273
|
|
|
232
274
|
```bash
|
|
233
|
-
python -m pip install 'boto3-stubs[sso-admin]'
|
|
275
|
+
python -m pip install 'boto3-stubs[sso-admin]'
|
|
234
276
|
```
|
|
235
277
|
|
|
236
278
|
Type checking should now work. No explicit type annotations required, write
|
|
@@ -247,11 +289,36 @@ your `boto3` code as usual.
|
|
|
247
289
|
python -m pip install 'boto3-stubs[sso-admin]'
|
|
248
290
|
```
|
|
249
291
|
|
|
250
|
-
Optionally, you can install `boto3-stubs` to `typings`
|
|
292
|
+
Optionally, you can install `boto3-stubs` to `typings` directory.
|
|
251
293
|
|
|
252
294
|
Type checking should now work. No explicit type annotations required, write
|
|
253
295
|
your `boto3` code as usual.
|
|
254
296
|
|
|
297
|
+
<a id="pylint-compatibility"></a>
|
|
298
|
+
|
|
299
|
+
### Pylint compatibility
|
|
300
|
+
|
|
301
|
+
It is totally safe to use `TYPE_CHECKING` flag in order to avoid
|
|
302
|
+
`mypy-boto3-sso-admin` dependency in production. However, there is an issue in
|
|
303
|
+
`pylint` that it complains about undefined variables. To fix it, set all types
|
|
304
|
+
to `object` in non-`TYPE_CHECKING` mode.
|
|
305
|
+
|
|
306
|
+
```python
|
|
307
|
+
from typing import TYPE_CHECKING
|
|
308
|
+
|
|
309
|
+
if TYPE_CHECKING:
|
|
310
|
+
from mypy_boto3_ec2 import EC2Client, EC2ServiceResource
|
|
311
|
+
from mypy_boto3_ec2.waiters import BundleTaskCompleteWaiter
|
|
312
|
+
from mypy_boto3_ec2.paginators import DescribeVolumesPaginator
|
|
313
|
+
else:
|
|
314
|
+
EC2Client = object
|
|
315
|
+
EC2ServiceResource = object
|
|
316
|
+
BundleTaskCompleteWaiter = object
|
|
317
|
+
DescribeVolumesPaginator = object
|
|
318
|
+
|
|
319
|
+
...
|
|
320
|
+
```
|
|
321
|
+
|
|
255
322
|
<a id="explicit-type-annotations"></a>
|
|
256
323
|
|
|
257
324
|
## Explicit type annotations
|
|
@@ -286,12 +353,12 @@ from mypy_boto3_sso_admin import SSOAdminClient
|
|
|
286
353
|
from mypy_boto3_sso_admin.paginator import (
|
|
287
354
|
ListAccountAssignmentCreationStatusPaginator,
|
|
288
355
|
ListAccountAssignmentDeletionStatusPaginator,
|
|
289
|
-
ListAccountAssignmentsPaginator,
|
|
290
356
|
ListAccountAssignmentsForPrincipalPaginator,
|
|
357
|
+
ListAccountAssignmentsPaginator,
|
|
291
358
|
ListAccountsForProvisionedPermissionSetPaginator,
|
|
292
359
|
ListApplicationAccessScopesPaginator,
|
|
293
|
-
ListApplicationAssignmentsPaginator,
|
|
294
360
|
ListApplicationAssignmentsForPrincipalPaginator,
|
|
361
|
+
ListApplicationAssignmentsPaginator,
|
|
295
362
|
ListApplicationAuthenticationMethodsPaginator,
|
|
296
363
|
ListApplicationGrantsPaginator,
|
|
297
364
|
ListApplicationProvidersPaginator,
|
|
@@ -316,24 +383,24 @@ list_account_assignment_creation_status_paginator: ListAccountAssignmentCreation
|
|
|
316
383
|
list_account_assignment_deletion_status_paginator: ListAccountAssignmentDeletionStatusPaginator = (
|
|
317
384
|
client.get_paginator("list_account_assignment_deletion_status")
|
|
318
385
|
)
|
|
386
|
+
list_account_assignments_for_principal_paginator: ListAccountAssignmentsForPrincipalPaginator = (
|
|
387
|
+
client.get_paginator("list_account_assignments_for_principal")
|
|
388
|
+
)
|
|
319
389
|
list_account_assignments_paginator: ListAccountAssignmentsPaginator = client.get_paginator(
|
|
320
390
|
"list_account_assignments"
|
|
321
391
|
)
|
|
322
|
-
|
|
323
|
-
|
|
392
|
+
list_accounts_for_provisioned_permission_set_paginator: ListAccountsForProvisionedPermissionSetPaginator = client.get_paginator(
|
|
393
|
+
"list_accounts_for_provisioned_permission_set"
|
|
324
394
|
)
|
|
325
|
-
list_accounts_for_provisioned_permission_set_paginator: (
|
|
326
|
-
ListAccountsForProvisionedPermissionSetPaginator
|
|
327
|
-
) = client.get_paginator("list_accounts_for_provisioned_permission_set")
|
|
328
395
|
list_application_access_scopes_paginator: ListApplicationAccessScopesPaginator = (
|
|
329
396
|
client.get_paginator("list_application_access_scopes")
|
|
330
397
|
)
|
|
398
|
+
list_application_assignments_for_principal_paginator: ListApplicationAssignmentsForPrincipalPaginator = client.get_paginator(
|
|
399
|
+
"list_application_assignments_for_principal"
|
|
400
|
+
)
|
|
331
401
|
list_application_assignments_paginator: ListApplicationAssignmentsPaginator = client.get_paginator(
|
|
332
402
|
"list_application_assignments"
|
|
333
403
|
)
|
|
334
|
-
list_application_assignments_for_principal_paginator: (
|
|
335
|
-
ListApplicationAssignmentsForPrincipalPaginator
|
|
336
|
-
) = client.get_paginator("list_application_assignments_for_principal")
|
|
337
404
|
list_application_authentication_methods_paginator: ListApplicationAuthenticationMethodsPaginator = (
|
|
338
405
|
client.get_paginator("list_application_authentication_methods")
|
|
339
406
|
)
|
|
@@ -344,9 +411,9 @@ list_application_providers_paginator: ListApplicationProvidersPaginator = client
|
|
|
344
411
|
"list_application_providers"
|
|
345
412
|
)
|
|
346
413
|
list_applications_paginator: ListApplicationsPaginator = client.get_paginator("list_applications")
|
|
347
|
-
list_customer_managed_policy_references_in_permission_set_paginator: (
|
|
348
|
-
|
|
349
|
-
)
|
|
414
|
+
list_customer_managed_policy_references_in_permission_set_paginator: ListCustomerManagedPolicyReferencesInPermissionSetPaginator = client.get_paginator(
|
|
415
|
+
"list_customer_managed_policy_references_in_permission_set"
|
|
416
|
+
)
|
|
350
417
|
list_instances_paginator: ListInstancesPaginator = client.get_paginator("list_instances")
|
|
351
418
|
list_managed_policies_in_permission_set_paginator: ListManagedPoliciesInPermissionSetPaginator = (
|
|
352
419
|
client.get_paginator("list_managed_policies_in_permission_set")
|
|
@@ -357,9 +424,9 @@ list_permission_set_provisioning_status_paginator: ListPermissionSetProvisioning
|
|
|
357
424
|
list_permission_sets_paginator: ListPermissionSetsPaginator = client.get_paginator(
|
|
358
425
|
"list_permission_sets"
|
|
359
426
|
)
|
|
360
|
-
list_permission_sets_provisioned_to_account_paginator: (
|
|
361
|
-
|
|
362
|
-
)
|
|
427
|
+
list_permission_sets_provisioned_to_account_paginator: ListPermissionSetsProvisionedToAccountPaginator = client.get_paginator(
|
|
428
|
+
"list_permission_sets_provisioned_to_account"
|
|
429
|
+
)
|
|
363
430
|
list_tags_for_resource_paginator: ListTagsForResourcePaginator = client.get_paginator(
|
|
364
431
|
"list_tags_for_resource"
|
|
365
432
|
)
|
|
@@ -417,8 +484,7 @@ updates. It delivers drop-in type annotations for you and makes sure that:
|
|
|
417
484
|
annotations extracted from `botocore` schemas.
|
|
418
485
|
- Type annotations include up-to-date documentation.
|
|
419
486
|
- Link to documentation is provided for every method.
|
|
420
|
-
- Code is processed by [
|
|
421
|
-
[isort](https://github.com/PyCQA/isort) for readability.
|
|
487
|
+
- Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
|
|
422
488
|
|
|
423
489
|
<a id="what's-new"></a>
|
|
424
490
|
|
|
@@ -1,69 +1,36 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: mypy-boto3-sso-admin
|
|
3
|
-
Version: 1.35.0
|
|
4
|
-
Summary: Type annotations for boto3.SSOAdmin 1.35.0 service generated with mypy-boto3-builder 7.26.0
|
|
5
|
-
Home-page: https://github.com/youtype/mypy_boto3_builder
|
|
6
|
-
Author: Vlad Emelianov
|
|
7
|
-
Author-email: vlad.emelianov.nz@gmail.com
|
|
8
|
-
License: MIT License
|
|
9
|
-
Project-URL: Documentation, https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/
|
|
10
|
-
Project-URL: Source, https://github.com/youtype/mypy_boto3_builder
|
|
11
|
-
Project-URL: Tracker, https://github.com/youtype/mypy_boto3_builder/issues
|
|
12
|
-
Keywords: boto3 sso-admin type-annotations botocore mypy typeshed autocomplete
|
|
13
|
-
Classifier: Development Status :: 5 - Production/Stable
|
|
14
|
-
Classifier: Intended Audience :: Developers
|
|
15
|
-
Classifier: Environment :: Console
|
|
16
|
-
Classifier: License :: OSI Approved :: MIT License
|
|
17
|
-
Classifier: Natural Language :: English
|
|
18
|
-
Classifier: Operating System :: OS Independent
|
|
19
|
-
Classifier: Programming Language :: Python :: 3
|
|
20
|
-
Classifier: Programming Language :: Python :: 3.8
|
|
21
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
22
|
-
Classifier: Programming Language :: Python :: 3.10
|
|
23
|
-
Classifier: Programming Language :: Python :: 3.11
|
|
24
|
-
Classifier: Programming Language :: Python :: 3.12
|
|
25
|
-
Classifier: Programming Language :: Python :: 3.13
|
|
26
|
-
Classifier: Programming Language :: Python :: 3 :: Only
|
|
27
|
-
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
28
|
-
Classifier: Typing :: Stubs Only
|
|
29
|
-
Requires-Python: >=3.8
|
|
30
|
-
Description-Content-Type: text/markdown
|
|
31
|
-
License-File: LICENSE
|
|
32
|
-
Requires-Dist: typing-extensions>=4.1.0; python_version < "3.12"
|
|
33
|
-
|
|
34
1
|
<a id="mypy-boto3-sso-admin"></a>
|
|
35
2
|
|
|
36
3
|
# mypy-boto3-sso-admin
|
|
37
4
|
|
|
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://
|
|
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)
|
|
42
9
|
|
|
43
10
|

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

|
|
64
30
|
|
|
65
31
|
- [mypy-boto3-sso-admin](#mypy-boto3-sso-admin)
|
|
66
32
|
- [How to install](#how-to-install)
|
|
33
|
+
- [Generate locally (recommended)](<#generate-locally-(recommended)>)
|
|
67
34
|
- [VSCode extension](#vscode-extension)
|
|
68
35
|
- [From PyPI with pip](#from-pypi-with-pip)
|
|
69
36
|
- [How to uninstall](#how-to-uninstall)
|
|
@@ -75,6 +42,7 @@ See how it helps to find and fix potential bugs:
|
|
|
75
42
|
- [Other IDEs](#other-ides)
|
|
76
43
|
- [mypy](#mypy)
|
|
77
44
|
- [pyright](#pyright)
|
|
45
|
+
- [Pylint compatibility](#pylint-compatibility)
|
|
78
46
|
- [Explicit type annotations](#explicit-type-annotations)
|
|
79
47
|
- [Client annotations](#client-annotations)
|
|
80
48
|
- [Paginators annotations](#paginators-annotations)
|
|
@@ -93,6 +61,21 @@ See how it helps to find and fix potential bugs:
|
|
|
93
61
|
|
|
94
62
|
## How to install
|
|
95
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.36.0' 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
|
+
|
|
96
79
|
<a id="vscode-extension"></a>
|
|
97
80
|
|
|
98
81
|
### VSCode extension
|
|
@@ -113,12 +96,10 @@ Install `boto3-stubs` for `SSOAdmin` service.
|
|
|
113
96
|
# install with boto3 type annotations
|
|
114
97
|
python -m pip install 'boto3-stubs[sso-admin]'
|
|
115
98
|
|
|
116
|
-
|
|
117
99
|
# Lite version does not provide session.client/resource overloads
|
|
118
100
|
# it is more RAM-friendly, but requires explicit type annotations
|
|
119
101
|
python -m pip install 'boto3-stubs-lite[sso-admin]'
|
|
120
102
|
|
|
121
|
-
|
|
122
103
|
# standalone installation
|
|
123
104
|
python -m pip install mypy-boto3-sso-admin
|
|
124
105
|
```
|
|
@@ -157,16 +138,31 @@ annotations required, write your `boto3` code as usual.
|
|
|
157
138
|
|
|
158
139
|
### PyCharm
|
|
159
140
|
|
|
160
|
-
|
|
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/):
|
|
161
153
|
|
|
162
154
|
```bash
|
|
163
|
-
|
|
155
|
+
pip uninstall boto3-stubs
|
|
156
|
+
pip install boto3-stubs-lite
|
|
164
157
|
```
|
|
165
158
|
|
|
166
|
-
|
|
167
|
-
|
|
159
|
+
Install `boto3-stubs[sso-admin]` in your environment:
|
|
160
|
+
|
|
161
|
+
```bash
|
|
162
|
+
python -m pip install 'boto3-stubs[sso-admin]'
|
|
163
|
+
```
|
|
168
164
|
|
|
169
|
-
|
|
165
|
+
Both type checking and code completion should now work.
|
|
170
166
|
|
|
171
167
|
<a id="emacs"></a>
|
|
172
168
|
|
|
@@ -230,7 +226,7 @@ should work.
|
|
|
230
226
|
- Install `boto3-stubs[sso-admin]` in your environment:
|
|
231
227
|
|
|
232
228
|
```bash
|
|
233
|
-
python -m pip install 'boto3-stubs[sso-admin]'
|
|
229
|
+
python -m pip install 'boto3-stubs[sso-admin]'
|
|
234
230
|
```
|
|
235
231
|
|
|
236
232
|
Type checking should now work. No explicit type annotations required, write
|
|
@@ -247,11 +243,36 @@ your `boto3` code as usual.
|
|
|
247
243
|
python -m pip install 'boto3-stubs[sso-admin]'
|
|
248
244
|
```
|
|
249
245
|
|
|
250
|
-
Optionally, you can install `boto3-stubs` to `typings`
|
|
246
|
+
Optionally, you can install `boto3-stubs` to `typings` directory.
|
|
251
247
|
|
|
252
248
|
Type checking should now work. No explicit type annotations required, write
|
|
253
249
|
your `boto3` code as usual.
|
|
254
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
|
+
|
|
255
276
|
<a id="explicit-type-annotations"></a>
|
|
256
277
|
|
|
257
278
|
## Explicit type annotations
|
|
@@ -286,12 +307,12 @@ from mypy_boto3_sso_admin import SSOAdminClient
|
|
|
286
307
|
from mypy_boto3_sso_admin.paginator import (
|
|
287
308
|
ListAccountAssignmentCreationStatusPaginator,
|
|
288
309
|
ListAccountAssignmentDeletionStatusPaginator,
|
|
289
|
-
ListAccountAssignmentsPaginator,
|
|
290
310
|
ListAccountAssignmentsForPrincipalPaginator,
|
|
311
|
+
ListAccountAssignmentsPaginator,
|
|
291
312
|
ListAccountsForProvisionedPermissionSetPaginator,
|
|
292
313
|
ListApplicationAccessScopesPaginator,
|
|
293
|
-
ListApplicationAssignmentsPaginator,
|
|
294
314
|
ListApplicationAssignmentsForPrincipalPaginator,
|
|
315
|
+
ListApplicationAssignmentsPaginator,
|
|
295
316
|
ListApplicationAuthenticationMethodsPaginator,
|
|
296
317
|
ListApplicationGrantsPaginator,
|
|
297
318
|
ListApplicationProvidersPaginator,
|
|
@@ -316,24 +337,24 @@ list_account_assignment_creation_status_paginator: ListAccountAssignmentCreation
|
|
|
316
337
|
list_account_assignment_deletion_status_paginator: ListAccountAssignmentDeletionStatusPaginator = (
|
|
317
338
|
client.get_paginator("list_account_assignment_deletion_status")
|
|
318
339
|
)
|
|
340
|
+
list_account_assignments_for_principal_paginator: ListAccountAssignmentsForPrincipalPaginator = (
|
|
341
|
+
client.get_paginator("list_account_assignments_for_principal")
|
|
342
|
+
)
|
|
319
343
|
list_account_assignments_paginator: ListAccountAssignmentsPaginator = client.get_paginator(
|
|
320
344
|
"list_account_assignments"
|
|
321
345
|
)
|
|
322
|
-
|
|
323
|
-
|
|
346
|
+
list_accounts_for_provisioned_permission_set_paginator: ListAccountsForProvisionedPermissionSetPaginator = client.get_paginator(
|
|
347
|
+
"list_accounts_for_provisioned_permission_set"
|
|
324
348
|
)
|
|
325
|
-
list_accounts_for_provisioned_permission_set_paginator: (
|
|
326
|
-
ListAccountsForProvisionedPermissionSetPaginator
|
|
327
|
-
) = client.get_paginator("list_accounts_for_provisioned_permission_set")
|
|
328
349
|
list_application_access_scopes_paginator: ListApplicationAccessScopesPaginator = (
|
|
329
350
|
client.get_paginator("list_application_access_scopes")
|
|
330
351
|
)
|
|
352
|
+
list_application_assignments_for_principal_paginator: ListApplicationAssignmentsForPrincipalPaginator = client.get_paginator(
|
|
353
|
+
"list_application_assignments_for_principal"
|
|
354
|
+
)
|
|
331
355
|
list_application_assignments_paginator: ListApplicationAssignmentsPaginator = client.get_paginator(
|
|
332
356
|
"list_application_assignments"
|
|
333
357
|
)
|
|
334
|
-
list_application_assignments_for_principal_paginator: (
|
|
335
|
-
ListApplicationAssignmentsForPrincipalPaginator
|
|
336
|
-
) = client.get_paginator("list_application_assignments_for_principal")
|
|
337
358
|
list_application_authentication_methods_paginator: ListApplicationAuthenticationMethodsPaginator = (
|
|
338
359
|
client.get_paginator("list_application_authentication_methods")
|
|
339
360
|
)
|
|
@@ -344,9 +365,9 @@ list_application_providers_paginator: ListApplicationProvidersPaginator = client
|
|
|
344
365
|
"list_application_providers"
|
|
345
366
|
)
|
|
346
367
|
list_applications_paginator: ListApplicationsPaginator = client.get_paginator("list_applications")
|
|
347
|
-
list_customer_managed_policy_references_in_permission_set_paginator: (
|
|
348
|
-
|
|
349
|
-
)
|
|
368
|
+
list_customer_managed_policy_references_in_permission_set_paginator: ListCustomerManagedPolicyReferencesInPermissionSetPaginator = client.get_paginator(
|
|
369
|
+
"list_customer_managed_policy_references_in_permission_set"
|
|
370
|
+
)
|
|
350
371
|
list_instances_paginator: ListInstancesPaginator = client.get_paginator("list_instances")
|
|
351
372
|
list_managed_policies_in_permission_set_paginator: ListManagedPoliciesInPermissionSetPaginator = (
|
|
352
373
|
client.get_paginator("list_managed_policies_in_permission_set")
|
|
@@ -357,9 +378,9 @@ list_permission_set_provisioning_status_paginator: ListPermissionSetProvisioning
|
|
|
357
378
|
list_permission_sets_paginator: ListPermissionSetsPaginator = client.get_paginator(
|
|
358
379
|
"list_permission_sets"
|
|
359
380
|
)
|
|
360
|
-
list_permission_sets_provisioned_to_account_paginator: (
|
|
361
|
-
|
|
362
|
-
)
|
|
381
|
+
list_permission_sets_provisioned_to_account_paginator: ListPermissionSetsProvisionedToAccountPaginator = client.get_paginator(
|
|
382
|
+
"list_permission_sets_provisioned_to_account"
|
|
383
|
+
)
|
|
363
384
|
list_tags_for_resource_paginator: ListTagsForResourcePaginator = client.get_paginator(
|
|
364
385
|
"list_tags_for_resource"
|
|
365
386
|
)
|
|
@@ -417,8 +438,7 @@ updates. It delivers drop-in type annotations for you and makes sure that:
|
|
|
417
438
|
annotations extracted from `botocore` schemas.
|
|
418
439
|
- Type annotations include up-to-date documentation.
|
|
419
440
|
- Link to documentation is provided for every method.
|
|
420
|
-
- Code is processed by [
|
|
421
|
-
[isort](https://github.com/PyCQA/isort) for readability.
|
|
441
|
+
- Code is processed by [ruff](https://docs.astral.sh/ruff/) for readability.
|
|
422
442
|
|
|
423
443
|
<a id="what's-new"></a>
|
|
424
444
|
|
{mypy_boto3_sso_admin-1.35.0 → mypy_boto3_sso_admin-1.36.0}/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.36.0}/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
|