connector-py 4.181.0__py3-none-any.whl → 4.182.0__py3-none-any.whl
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.
- connector/__about__.py +1 -1
- connector/oai/modules/info_module.py +4 -1
- connector/spec/openapi.yaml +2 -7
- {connector_py-4.181.0.dist-info → connector_py-4.182.0.dist-info}/METADATA +2 -2
- {connector_py-4.181.0.dist-info → connector_py-4.182.0.dist-info}/RECORD +10 -10
- tests/oai/test_info_module.py +5 -2
- {connector_py-4.181.0.dist-info → connector_py-4.182.0.dist-info}/WHEEL +0 -0
- {connector_py-4.181.0.dist-info → connector_py-4.182.0.dist-info}/entry_points.txt +0 -0
- {connector_py-4.181.0.dist-info → connector_py-4.182.0.dist-info}/licenses/LICENSE.txt +0 -0
- {connector_py-4.181.0.dist-info → connector_py-4.182.0.dist-info}/top_level.txt +0 -0
connector/__about__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "4.
|
|
1
|
+
__version__ = "4.182.0"
|
|
@@ -789,7 +789,10 @@ class InfoModule(BaseIntegrationModule):
|
|
|
789
789
|
"x-resource-types": [
|
|
790
790
|
resource_type.model_dump() for resource_type in resource_types
|
|
791
791
|
],
|
|
792
|
-
"x-categories":
|
|
792
|
+
"x-categories": {
|
|
793
|
+
"type": "enum",
|
|
794
|
+
"enum": [category.value for category in app.description_data.categories],
|
|
795
|
+
},
|
|
793
796
|
"x-oauth-settings": {},
|
|
794
797
|
"x-capabilities": [],
|
|
795
798
|
"x-multi-credential": False,
|
connector/spec/openapi.yaml
CHANGED
|
@@ -6599,13 +6599,8 @@ components:
|
|
|
6599
6599
|
- type_id: resource
|
|
6600
6600
|
type_label: Resource
|
|
6601
6601
|
x-categories:
|
|
6602
|
-
type:
|
|
6603
|
-
|
|
6604
|
-
$ref: '#/components/schemas/AppCategory'
|
|
6605
|
-
example:
|
|
6606
|
-
- DEVELOPERS
|
|
6607
|
-
- COLLABORATION
|
|
6608
|
-
- IT_AND_SECURITY
|
|
6602
|
+
type: object
|
|
6603
|
+
additionalProperties: {}
|
|
6609
6604
|
x-oauth-settings:
|
|
6610
6605
|
type: object
|
|
6611
6606
|
additionalProperties: {}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: connector-py
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.182.0
|
|
4
4
|
Summary: An Abstract Tool to Perform Actions on Integrations.
|
|
5
5
|
Author-email: teamlumos <security@lumos.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -15,7 +15,7 @@ Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
|
15
15
|
Requires-Python: >=3.10
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE.txt
|
|
18
|
-
Requires-Dist: connector-sdk-types==0.
|
|
18
|
+
Requires-Dist: connector-sdk-types==0.37.0
|
|
19
19
|
Requires-Dist: gql[httpx]
|
|
20
20
|
Requires-Dist: httpx>=0.27.0
|
|
21
21
|
Requires-Dist: msgpack>=1
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
connector/__about__.py,sha256=
|
|
1
|
+
connector/__about__.py,sha256=_Jfxb8kmMJdg5a-XJCQMq6QlszDynnS2vjMSITQmyXY,24
|
|
2
2
|
connector/__init__.py,sha256=QUNbfyRmjFwfO296tG-H_d8FFCqcNc3kAu1QfYGtP38,84
|
|
3
3
|
connector/auth_helper.py,sha256=0HBFYwd0ixOL46blGvb1ot0a8ZOmNutU13Q95JGN04Q,637
|
|
4
4
|
connector/ca_certs.py,sha256=h7l8FvUsGXAvQC73BA2x5HJccxC5ooIOOww0mTSEerw,603
|
|
@@ -212,7 +212,7 @@ connector/oai/capabilities/factory.py,sha256=omYnjTnsQxp-W_CqiMrmtOkVXFU5pOV_8XM
|
|
|
212
212
|
connector/oai/modules/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
213
213
|
connector/oai/modules/base_module.py,sha256=tk-agsp40oWTj6JWmYxp0U3imnI1-amteJXtsR0wYeE,1070
|
|
214
214
|
connector/oai/modules/credentials_module.py,sha256=AtS8cXkVW3PgizrLZfOlXckZx6PcBKnRKb_PD5Z_wsI,11244
|
|
215
|
-
connector/oai/modules/info_module.py,sha256=
|
|
215
|
+
connector/oai/modules/info_module.py,sha256=9mptfyEUJbsQM03YrFbC-XShDlZAvY4cacn18LqU1CA,44519
|
|
216
216
|
connector/oai/modules/oauth_module.py,sha256=YRhJOJzw0MLszB0uFq88A64ZT6jmluEcrRAD-QgwpnU,17864
|
|
217
217
|
connector/oai/modules/oauth_module_types.py,sha256=RvUahu4wYpJ_9EtCE1ZIQbHY2-Ok8zjIqPEyid8XoPw,398
|
|
218
218
|
connector/observability/__init__.py,sha256=xfKNc2Ns42QIDeW5vRy2Y7tmQpUxh-21sxqbJjJCS5Y,61
|
|
@@ -257,7 +257,7 @@ connector/scaffold/templates/tests/test_write_capabilities/test_delete_account_c
|
|
|
257
257
|
connector/scaffold/templates/tests/test_write_capabilities/test_unassign_entitlement_cases.py,sha256=rhHAssvwmgQQuY5AmtyhScAZeHLxWMpq1ugB_mN9laI,3136
|
|
258
258
|
connector/serializers/__init__.py,sha256=TebqapwALjjzUbnpaN7RSs3YPZrIvCY-MPvX0jBkMUw,293
|
|
259
259
|
connector/serializers/request.py,sha256=TebqapwALjjzUbnpaN7RSs3YPZrIvCY-MPvX0jBkMUw,293
|
|
260
|
-
connector/spec/openapi.yaml,sha256=
|
|
260
|
+
connector/spec/openapi.yaml,sha256=lFCDjwZFPdIZmlb0yVX3FQLkr2m3pDpM8CGPUsKyems,279344
|
|
261
261
|
connector/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
262
262
|
connector/tests/coverage_check.py,sha256=CIq_RfUlu5MSIlxIyACf8qDFVpK92x19vp37vBL9BiI,318
|
|
263
263
|
connector/tests/gather_cases.py,sha256=LLM0It8NPIOKt_ruoPc1xzJvAY1lZxzh8eTqFnuXSvc,4601
|
|
@@ -278,7 +278,7 @@ connector/utils/sync_to_async.py,sha256=sL7p_gJT5fQXbwXL1OIe93rlxWlnvmdK_espSNbQ
|
|
|
278
278
|
connector/utils/test.py,sha256=nvGSsVCCnellamh8nwZK6jLDp1n_irw9NaDPTNpJ9E4,656
|
|
279
279
|
connector/utils/test_case_insensitive_dict.py,sha256=VIUnWVKOh1hrXHk0kllMtaqh-9h6apahPHt9U7oBGp0,356
|
|
280
280
|
connector/utils/validation_utils.py,sha256=ih-EFW-ei-fKil0U2n0y4GePuA-Jz76XryExFBppHLk,1352
|
|
281
|
-
connector_py-4.
|
|
281
|
+
connector_py-4.182.0.dist-info/licenses/LICENSE.txt,sha256=5GN09YoDG6soQSs8dUL08aXcF-QA17TtDOoixKVPzsc,11346
|
|
282
282
|
tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
283
283
|
tests/test_cli.py,sha256=6sk1fmfXDTFbdVAKDCKRSo2hslrg_bywjo3rbYJFjPs,8937
|
|
284
284
|
tests/test_compile.py,sha256=NkPUC7GGvO3dGAgIIz5o0z5Rr5qDeQLtH_IJBlE1wHE,5689
|
|
@@ -300,7 +300,7 @@ tests/oai/test_exception_handler.py,sha256=hM7zyGK7NPl1bNwbyn3e6FUtk4lTVgcn_XT69
|
|
|
300
300
|
tests/oai/test_exception_handler_handled_cases.py,sha256=RZQruRkVl-E5v4TR1kooz6slTQgoDzbZDENvY-Rj0Nk,20570
|
|
301
301
|
tests/oai/test_get_capability_annotations_cases.py,sha256=m5S6IfeLW00gI2XKSH45Zh6zbzIb7g5fV2HEhNymoy8,3499
|
|
302
302
|
tests/oai/test_info_cases.py,sha256=MSs26_raGgKBIaLUkKBTfEMuBopzHQE8HU_w5UBAtLo,64660
|
|
303
|
-
tests/oai/test_info_module.py,sha256=
|
|
303
|
+
tests/oai/test_info_module.py,sha256=_CGk45gaNefgoQBXNJULwLMt9N38LMWh5gqlJtAJnkY,94124
|
|
304
304
|
tests/oai/test_integration.py,sha256=jh4yrhInCAJoSva2xuANFBDb_6U_12mO5A7iEe9mXHQ,5372
|
|
305
305
|
tests/oai/test_modules.py,sha256=09XCtLdeDu2hzawYBTPOoduTk0u9xiDGZGyL4ALkIJU,1514
|
|
306
306
|
tests/oai/test_modules_cases.py,sha256=6V-yZO5dtiIPF5M5dFuJOdNMpQoaAwmDAPfmsCzVxxM,2156
|
|
@@ -325,8 +325,8 @@ tests/utils/test_pagination.py,sha256=_VCeSTmbcqzMSESNuM9ta3-zxDempIJGR_CkcKRjCO
|
|
|
325
325
|
tests/utils/test_pagination_decode_cases.py,sha256=Ogtprql_vwTWkHV_JceemNtJQMKNekDWAa1yj09uPnw,221
|
|
326
326
|
tests/utils/test_pagination_duality_cases.py,sha256=Z_mI5PNbeKyTzdxdabfVDvOrCcbCgH8EuulVmb4Dcco,928
|
|
327
327
|
tests/utils/test_pagination_encode_cases.py,sha256=XsJ5PvlHT4stu3x6YF3-WADMk8ftfbDGOmbcof2_tiE,635
|
|
328
|
-
connector_py-4.
|
|
329
|
-
connector_py-4.
|
|
330
|
-
connector_py-4.
|
|
331
|
-
connector_py-4.
|
|
332
|
-
connector_py-4.
|
|
328
|
+
connector_py-4.182.0.dist-info/METADATA,sha256=c8bEm_XVaPfL88l0YcvBXoimKC9ra3i2YbA7weeW2Ww,18641
|
|
329
|
+
connector_py-4.182.0.dist-info/WHEEL,sha256=qELbo2s1Yzl39ZmrAibXA2jjPLUYfnVhUNTlyF1rq0Y,92
|
|
330
|
+
connector_py-4.182.0.dist-info/entry_points.txt,sha256=D7nFwDmXoeHYpRVov7TrlbOtZqe9q1dOdkUY0GK0AEg,50
|
|
331
|
+
connector_py-4.182.0.dist-info/top_level.txt,sha256=a1lmLxeM8B6LFAD0kkCE1ZAK3rJP9Uv0Jd1fHSskX-k,16
|
|
332
|
+
connector_py-4.182.0.dist-info/RECORD,,
|
tests/oai/test_info_module.py
CHANGED
|
@@ -85,8 +85,11 @@ async def test_app_info_capability_returns_app_info():
|
|
|
85
85
|
assert oas["info"]["version"] == "0.1.0"
|
|
86
86
|
assert oas["info"]["description"] == "Test description"
|
|
87
87
|
assert oas["info"]["x-app-vendor-domain"] == "test.com"
|
|
88
|
-
# x-categories is
|
|
89
|
-
assert oas["info"]["x-categories"] ==
|
|
88
|
+
# x-categories is a record with type and enum fields
|
|
89
|
+
assert oas["info"]["x-categories"] == {
|
|
90
|
+
"type": "enum",
|
|
91
|
+
"enum": [AppCategory.DEVELOPERS.value],
|
|
92
|
+
}
|
|
90
93
|
# EntitlementType includes requirements field (None by default)
|
|
91
94
|
entitlement_type = oas["info"]["x-entitlement-types"][0]
|
|
92
95
|
assert entitlement_type["type_id"] == "test"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|