Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
Return a (host, port) tuple based on the config value.

        def parse_address(address, port=None):
    """
    Return a (host, port) tuple based on the config value.
    """
    try:
        address, port = address.split(':', 1)
    except ValueError:
        pass

    if port:
        port = int(port)

    return address, port
        


src/b/i/biloba-1.1.2/biloba/__init__.py   biloba(Download)
from .service import Service, ConfigurableService
from .config import parse_address
from .util import waitany
 
from . import _meta