Coverage for /opt/anaconda/lib/python3.7/site-packages/llama/serve/gui/domain.py : 100%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1# (c) Stefan Countryman, 2019
3"""
4Get the domain on which this server is running from the environment.
5"""
7from llama.classes import optional_env_var
9DEFAULT_LLAMA_DOMAIN = 'localhost'
10LLAMA_DOMAIN = optional_env_var(
11 ['LLAMA_DOMAIN'],
12 """Specify the domain on which LLAMA processes are running.""",
13 [DEFAULT_LLAMA_DOMAIN],
14)[0]