jina/parsers/peapods/runtimes/remote.py
def mixin_remote_parser(parser):
    """Add the options for remote expose
    :param parser: the parser
    """
    gp = add_arg_group(parser, title='Expose')

    gp.add_argument(
        '--host',
        type=str,
        default=__default_host__,
        help=f'The host address of the runtime, by default it is {__default_host__}.',
    )

    gp.add_argument(
        '--port-expose',
        type=int,
        default=helper.random_port(),
        help='The port of the host exposed to the public',
    )

    gp.add_argument(
        '--proxy',
        action='store_true',
        default=False,
        help='If set, respect the http_proxy and https_proxy environment variables. '
        'otherwise, it will unset these proxy variables before start. '
        'gRPC seems to prefer no proxy',
    )
Add the options for remote expose
    :param parser: the parser
    
Add the options for remote expose
Add the options for remote expose
def mixin_remote_parser(parser):
    gp = add_arg_group(parser, title='Expose')
    gp.add_argument(
        '--host',
        type=str,
        default=__default_host__,
        help=f'The host address of the runtime, by default it is {__default_host__}.',
    )
    gp.add_argument(
        '--port-expose',
        type=int,
        default=helper.random_port(),
        help='The port of the host exposed to the public',
    )
    gp.add_argument(
        '--proxy',
        action='store_true',
        default=False,
        help='If set, respect the http_proxy and https_proxy environment variables. '
        'otherwise, it will unset these proxy variables before start. '
        'gRPC seems to prefer no proxy',
    )
def mixin_remote_parser ( parser ) : gp = add_arg_group ( parser , title = 'Expose' ) gp . add_argument ( '--host' , type = str , default = __default_host__ , help = f'The host address of the runtime, by default it is {__default_host__}.' , ) gp . add_argument ( '--port-expose' , type = int , default = helper . random_port ( ) , help = 'The port of the host exposed to the public' , ) gp . add_argument ( '--proxy' , action = 'store_true' , default = False , help = 'If set, respect the http_proxy and https_proxy environment variables. ' 'otherwise, it will unset these proxy variables before start. ' 'gRPC seems to prefer no proxy' , )
Add the options for remote expose
Add the options for remote expose
"""Add the options for remote expose
    :param parser: the parser
    """
parser
None