MCPcopy Create free account
hub / github.com/apache/arrow / _add_common_arguments

Function _add_common_arguments

python/examples/flight/client.py:107–116  ·  view source on GitHub ↗
(parser)

Source from the content-addressed store, hash-verified

105
106
107def _add_common_arguments(parser):
108 parser.add_argument('--tls', action='store_true',
109 help='Enable transport-level security')
110 parser.add_argument('--tls-roots', default=None,
111 help='Path to trusted TLS certificate(s)')
112 parser.add_argument("--mtls", nargs=2, default=None,
113 metavar=('CERTFILE', 'KEYFILE'),
114 help="Enable transport-level security")
115 parser.add_argument('host', type=str,
116 help="Address or hostname to connect to")
117
118
119def main():

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected