mypy-boto3-sso-admin 1.34.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.
Files changed (30) hide show
  1. {mypy-boto3-sso-admin-1.34.0 → mypy_boto3_sso_admin-1.35.93}/LICENSE +1 -1
  2. {mypy-boto3-sso-admin-1.34.0/mypy_boto3_sso_admin.egg-info → mypy_boto3_sso_admin-1.35.93}/PKG-INFO +100 -46
  3. mypy-boto3-sso-admin-1.34.0/PKG-INFO → mypy_boto3_sso_admin-1.35.93/README.md +93 -73
  4. mypy-boto3-sso-admin-1.34.0/mypy_boto3_sso_admin/__init__.pyi → mypy_boto3_sso_admin-1.35.93/mypy_boto3_sso_admin/__init__.py +5 -2
  5. mypy-boto3-sso-admin-1.34.0/mypy_boto3_sso_admin/__init__.py → mypy_boto3_sso_admin-1.35.93/mypy_boto3_sso_admin/__init__.pyi +4 -3
  6. mypy_boto3_sso_admin-1.35.93/mypy_boto3_sso_admin/__main__.py +43 -0
  7. mypy-boto3-sso-admin-1.34.0/mypy_boto3_sso_admin/client.pyi → mypy_boto3_sso_admin-1.35.93/mypy_boto3_sso_admin/client.py +419 -472
  8. mypy-boto3-sso-admin-1.34.0/mypy_boto3_sso_admin/client.py → mypy_boto3_sso_admin-1.35.93/mypy_boto3_sso_admin/client.pyi +417 -477
  9. mypy-boto3-sso-admin-1.34.0/mypy_boto3_sso_admin/literals.pyi → mypy_boto3_sso_admin-1.35.93/mypy_boto3_sso_admin/literals.py +54 -14
  10. mypy-boto3-sso-admin-1.34.0/mypy_boto3_sso_admin/literals.py → mypy_boto3_sso_admin-1.35.93/mypy_boto3_sso_admin/literals.pyi +52 -16
  11. mypy_boto3_sso_admin-1.35.93/mypy_boto3_sso_admin/paginator.py +599 -0
  12. mypy_boto3_sso_admin-1.35.93/mypy_boto3_sso_admin/paginator.pyi +538 -0
  13. mypy_boto3_sso_admin-1.35.93/mypy_boto3_sso_admin/type_defs.py +1392 -0
  14. mypy_boto3_sso_admin-1.35.93/mypy_boto3_sso_admin/type_defs.pyi +1194 -0
  15. mypy_boto3_sso_admin-1.35.93/mypy_boto3_sso_admin/version.py +7 -0
  16. mypy-boto3-sso-admin-1.34.0/README.md → mypy_boto3_sso_admin-1.35.93/mypy_boto3_sso_admin.egg-info/PKG-INFO +127 -40
  17. {mypy-boto3-sso-admin-1.34.0 → mypy_boto3_sso_admin-1.35.93}/mypy_boto3_sso_admin.egg-info/requires.txt +1 -1
  18. {mypy-boto3-sso-admin-1.34.0 → mypy_boto3_sso_admin-1.35.93}/setup.py +10 -13
  19. mypy-boto3-sso-admin-1.34.0/mypy_boto3_sso_admin/__main__.py +0 -39
  20. mypy-boto3-sso-admin-1.34.0/mypy_boto3_sso_admin/paginator.py +0 -480
  21. mypy-boto3-sso-admin-1.34.0/mypy_boto3_sso_admin/paginator.pyi +0 -458
  22. mypy-boto3-sso-admin-1.34.0/mypy_boto3_sso_admin/type_defs.py +0 -1677
  23. mypy-boto3-sso-admin-1.34.0/mypy_boto3_sso_admin/type_defs.pyi +0 -1676
  24. mypy-boto3-sso-admin-1.34.0/mypy_boto3_sso_admin/version.py +0 -5
  25. {mypy-boto3-sso-admin-1.34.0 → mypy_boto3_sso_admin-1.35.93}/mypy_boto3_sso_admin/py.typed +0 -0
  26. {mypy-boto3-sso-admin-1.34.0 → mypy_boto3_sso_admin-1.35.93}/mypy_boto3_sso_admin.egg-info/SOURCES.txt +0 -0
  27. {mypy-boto3-sso-admin-1.34.0 → mypy_boto3_sso_admin-1.35.93}/mypy_boto3_sso_admin.egg-info/dependency_links.txt +0 -0
  28. {mypy-boto3-sso-admin-1.34.0 → mypy_boto3_sso_admin-1.35.93}/mypy_boto3_sso_admin.egg-info/not-zip-safe +0 -0
  29. {mypy-boto3-sso-admin-1.34.0 → mypy_boto3_sso_admin-1.35.93}/mypy_boto3_sso_admin.egg-info/top_level.txt +0 -0
  30. {mypy-boto3-sso-admin-1.34.0 → mypy_boto3_sso_admin-1.35.93}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2023 Vlad Emelianov
3
+ Copyright (c) 2025 Vlad Emelianov
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: mypy-boto3-sso-admin
3
- Version: 1.34.0
4
- Summary: Type annotations for boto3.SSOAdmin 1.34.0 service generated with mypy-boto3-builder 7.21.0
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 botocore mypy typeshed autocomplete
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
@@ -17,53 +17,54 @@ Classifier: License :: OSI Approved :: MIT License
17
17
  Classifier: Natural Language :: English
18
18
  Classifier: Operating System :: OS Independent
19
19
  Classifier: Programming Language :: Python :: 3
20
- Classifier: Programming Language :: Python :: 3.7
21
20
  Classifier: Programming Language :: Python :: 3.8
22
21
  Classifier: Programming Language :: Python :: 3.9
23
22
  Classifier: Programming Language :: Python :: 3.10
24
23
  Classifier: Programming Language :: Python :: 3.11
25
24
  Classifier: Programming Language :: Python :: 3.12
26
25
  Classifier: Programming Language :: Python :: 3.13
26
+ Classifier: Programming Language :: Python :: 3.14
27
27
  Classifier: Programming Language :: Python :: 3 :: Only
28
28
  Classifier: Programming Language :: Python :: Implementation :: CPython
29
- Classifier: Typing :: Typed
30
- Requires-Python: >=3.7
29
+ Classifier: Typing :: Stubs Only
30
+ Requires-Python: >=3.8
31
31
  Description-Content-Type: text/markdown
32
32
  License-File: LICENSE
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
- [![PyPI - mypy-boto3-sso-admin](https://img.shields.io/pypi/v/mypy-boto3-sso-admin.svg?color=blue)](https://pypi.org/project/mypy-boto3-sso-admin)
39
- [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-sso-admin.svg?color=blue)](https://pypi.org/project/mypy-boto3-sso-admin)
40
- [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/)
41
- [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-sso-admin)](https://pepy.tech/project/mypy-boto3-sso-admin)
39
+ [![PyPI - mypy-boto3-sso-admin](https://img.shields.io/pypi/v/mypy-boto3-sso-admin.svg?color=blue)](https://pypi.org/project/mypy-boto3-sso-admin/)
40
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-sso-admin.svg?color=blue)](https://pypi.org/project/mypy-boto3-sso-admin/)
41
+ [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/)
42
+ [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-sso-admin)](https://pypistats.org/packages/mypy-boto3-sso-admin)
42
43
 
43
44
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
44
45
 
45
- Type annotations for
46
- [boto3.SSOAdmin 1.34.0](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin)
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 by
55
- [mypy-boto3-builder 7.21.0](https://github.com/youtype/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 to find and fix potential bugs:
61
+ See how it helps you find and fix potential bugs:
62
62
 
63
- ![boto3-stubs demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
63
+ ![types-boto3 demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
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
- Install `boto3-stubs-lite[sso-admin]` in your environment:
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
- python -m pip install 'boto3-stubs-lite[sso-admin]'`
189
+ pip uninstall boto3-stubs
190
+ pip install boto3-stubs-lite
164
191
  ```
165
192
 
166
- Both type checking and code completion should now work. Explicit type
167
- annotations **are required**.
193
+ Install `boto3-stubs[sso-admin]` in your environment:
168
194
 
169
- Use `boto3-stubs` package instead for implicit type discovery.
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` folder.
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
- list_account_assignments_for_principal_paginator: ListAccountAssignmentsForPrincipalPaginator = (
323
- client.get_paginator("list_account_assignments_for_principal")
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
- ListCustomerManagedPolicyReferencesInPermissionSetPaginator
349
- ) = client.get_paginator("list_customer_managed_policy_references_in_permission_set")
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
- ListPermissionSetsProvisionedToAccountPaginator
362
- ) = client.get_paginator("list_permission_sets_provisioned_to_account")
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
  )
@@ -396,10 +451,10 @@ Full list of `SSOAdmin` TypeDefs can be found in
396
451
  [docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/type_defs/).
397
452
 
398
453
  ```python
399
- from mypy_boto3_sso_admin.type_defs import AccessControlAttributeValueTypeDef
454
+ from mypy_boto3_sso_admin.type_defs import AccessControlAttributeValueOutputTypeDef
400
455
 
401
456
 
402
- def get_value() -> AccessControlAttributeValueTypeDef:
457
+ def get_value() -> AccessControlAttributeValueOutputTypeDef:
403
458
  return {...}
404
459
  ```
405
460
 
@@ -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 [black](https://github.com/psf/black) and
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
 
@@ -1,69 +1,36 @@
1
- Metadata-Version: 2.1
2
- Name: mypy-boto3-sso-admin
3
- Version: 1.34.0
4
- Summary: Type annotations for boto3.SSOAdmin 1.34.0 service generated with mypy-boto3-builder 7.21.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.7
21
- Classifier: Programming Language :: Python :: 3.8
22
- Classifier: Programming Language :: Python :: 3.9
23
- Classifier: Programming Language :: Python :: 3.10
24
- Classifier: Programming Language :: Python :: 3.11
25
- Classifier: Programming Language :: Python :: 3.12
26
- Classifier: Programming Language :: Python :: 3.13
27
- Classifier: Programming Language :: Python :: 3 :: Only
28
- Classifier: Programming Language :: Python :: Implementation :: CPython
29
- Classifier: Typing :: Typed
30
- Requires-Python: >=3.7
31
- Description-Content-Type: text/markdown
32
- License-File: LICENSE
33
-
34
1
  <a id="mypy-boto3-sso-admin"></a>
35
2
 
36
3
  # mypy-boto3-sso-admin
37
4
 
38
- [![PyPI - mypy-boto3-sso-admin](https://img.shields.io/pypi/v/mypy-boto3-sso-admin.svg?color=blue)](https://pypi.org/project/mypy-boto3-sso-admin)
39
- [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-sso-admin.svg?color=blue)](https://pypi.org/project/mypy-boto3-sso-admin)
40
- [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/)
41
- [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-sso-admin)](https://pepy.tech/project/mypy-boto3-sso-admin)
5
+ [![PyPI - mypy-boto3-sso-admin](https://img.shields.io/pypi/v/mypy-boto3-sso-admin.svg?color=blue)](https://pypi.org/project/mypy-boto3-sso-admin/)
6
+ [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/mypy-boto3-sso-admin.svg?color=blue)](https://pypi.org/project/mypy-boto3-sso-admin/)
7
+ [![Docs](https://img.shields.io/readthedocs/boto3-stubs.svg?color=blue)](https://youtype.github.io/boto3_stubs_docs/)
8
+ [![PyPI - Downloads](https://static.pepy.tech/badge/mypy-boto3-sso-admin)](https://pypistats.org/packages/mypy-boto3-sso-admin)
42
9
 
43
10
  ![boto3.typed](https://github.com/youtype/mypy_boto3_builder/raw/main/logo.png)
44
11
 
45
- Type annotations for
46
- [boto3.SSOAdmin 1.34.0](https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sso-admin.html#SSOAdmin)
47
- 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/),
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 by
55
- [mypy-boto3-builder 7.21.0](https://github.com/youtype/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 to find and fix potential bugs:
27
+ See how it helps you find and fix potential bugs:
62
28
 
63
- ![boto3-stubs demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
29
+ ![types-boto3 demo](https://github.com/youtype/mypy_boto3_builder/raw/main/demo.gif)
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.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
+
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
- Install `boto3-stubs-lite[sso-admin]` in your environment:
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
- python -m pip install 'boto3-stubs-lite[sso-admin]'`
155
+ pip uninstall boto3-stubs
156
+ pip install boto3-stubs-lite
164
157
  ```
165
158
 
166
- Both type checking and code completion should now work. Explicit type
167
- annotations **are required**.
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
- Use `boto3-stubs` package instead for implicit type discovery.
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` folder.
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
- list_account_assignments_for_principal_paginator: ListAccountAssignmentsForPrincipalPaginator = (
323
- client.get_paginator("list_account_assignments_for_principal")
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
- ListCustomerManagedPolicyReferencesInPermissionSetPaginator
349
- ) = client.get_paginator("list_customer_managed_policy_references_in_permission_set")
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
- ListPermissionSetsProvisionedToAccountPaginator
362
- ) = client.get_paginator("list_permission_sets_provisioned_to_account")
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
  )
@@ -396,10 +417,10 @@ Full list of `SSOAdmin` TypeDefs can be found in
396
417
  [docs](https://youtype.github.io/boto3_stubs_docs/mypy_boto3_sso_admin/type_defs/).
397
418
 
398
419
  ```python
399
- from mypy_boto3_sso_admin.type_defs import AccessControlAttributeValueTypeDef
420
+ from mypy_boto3_sso_admin.type_defs import AccessControlAttributeValueOutputTypeDef
400
421
 
401
422
 
402
- def get_value() -> AccessControlAttributeValueTypeDef:
423
+ def get_value() -> AccessControlAttributeValueOutputTypeDef:
403
424
  return {...}
404
425
  ```
405
426
 
@@ -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 [black](https://github.com/psf/black) and
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
 
@@ -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",