File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -118,10 +118,25 @@ Directory Structure::
118118
119119.. code-block :: python
120120
121- from astropy.config import ConfigurationItem
121+ from astropy import config as _config
122122
123123 SERVER = ConfigurationItem(' Service_server' , [' url1' ,' url2' ])
124124
125+ class Conf (_config .ConfigNamespace ):
126+ """
127+ Configuration parameters for `astroquery.template_module`.
128+ """
129+ server = _config.ConfigItem(
130+ [' http://dummy_server_mirror_1' ,
131+ ' http://dummy_server_mirror_2' ,
132+ ' http://dummy_server_mirror_n' ],
133+ ' Name of the template_module server to use.'
134+ )
135+ timeout = _config.ConfigItem(
136+ 30 ,
137+ ' Time limit for connecting to template_module server.'
138+ )
139+
125140 from .core import QueryClass
126141
127142 __all__ = [' QueryClass' ]
You can’t perform that action at this time.
0 commit comments