

def _get_dev_port(backend, instance=None):
    'Returns the port for a backend [instance] in the dev_appserver.\n\n  Args:\n    backend: The name of the backend.\n    instance: The backend instance (optional).\n\n  Returns:\n    int: The backend port.\n  '
    port = os.environ.get(_get_dev_port_var(backend, instance), None)
    if port:
        return int(port)
    else:
        return None

dataset/ETHPy150Open GoogleCloudPlatform/python-compat-runtime/appengine-compat/exported_appengine_sdk/google/appengine/api/backends/backends.py _get_dev_port/original