MCPcopy Index your code
hub / github.com/diffgram/diffgram / test_connection_api

Function test_connection_api

walrus/methods/connectors/connector_interface.py:62–157  ·  view source on GitHub ↗

()

Source from the content-addressed store, hash-verified

60 methods = ['POST'])
61@General_permissions.grant_permission_for(['normal_user'])
62def test_connection_api():
63 """
64
65 """
66 spec_list = [
67 {
68 "connection_id": {
69 'kind': int,
70 'required': False
71 }
72 },
73 {
74 "project_string_id": {
75 'kind': str,
76 'default': None,
77 'required': True
78 },
79 },
80 {
81 'integration_name': {
82 'kind': str,
83 'integration_name': None,
84 'required': False
85 }
86 },
87 {
88 'permission_scope': {
89 'default': 'project',
90 'kind': str,
91 'required': False,
92 'valid_values_list': ['project', 'org']
93 }
94 },
95 {
96 'private_host': {
97 'default': None,
98 'kind': str,
99 'required': False,
100 }
101 },
102 {
103 'private_id': {
104 'default': None,
105 'kind': str,
106 'required': False,
107 }
108 },
109 {
110 'private_secret': {
111 'default': None,
112 'kind': str,
113 'required': False,
114 }
115 },
116 {
117 'disabled_ssl_verify': {
118 'default': None,
119 'kind': bool,

Callers

nothing calls this directly

Calls 3

get_connectorMethod · 0.95
ConnectionStrategyClass · 0.90
test_connectionMethod · 0.45

Tested by

no test coverage detected