Conf#

class astroquery.esa.emds.Conf[source]#

Bases: ConfigNamespace

Configuration parameters for astroquery.esa.emds.

Attributes Summary

DEFAULT_SCHEMAS

Default TAP schema(s) used to filter available tables.

EMDS_DATA_SERVER

EMDS Data Server

EMDS_LOGIN_SERVER

EMDS Login Server

EMDS_LOGOUT_SERVER

EMDS Logout Server

EMDS_SERVLET

EMDS Sync Request

EMDS_TAP_SERVER

EMDS TAP Server

EMDS_TARGET_RESOLVER

EMDS Target Resolver Request

OBSCORE_TABLE

Fully qualified ObsCore table or view name (including schema)

TIMEOUT

Methods Summary

help([name])

Print info about configuration items.

items()

Iterate over configuration item (name, value) pairs.

keys()

reload([attr])

Reload a configuration item from the configuration file.

reset([attr])

Reset a configuration item to its default.

set_temp(attr, value)

Temporarily set a configuration value.

values()

Iterate over configuration item values.

Attributes Documentation

DEFAULT_SCHEMAS#

Default TAP schema(s) used to filter available tables. If empty, no schema-based filtering is applied and all tables are returned. Use a comma-separated list if multiple schemas are required.e.g. “schema1, schema2, schema3”.

EMDS_DATA_SERVER#

EMDS Data Server

EMDS_LOGIN_SERVER#

EMDS Login Server

EMDS_LOGOUT_SERVER#

EMDS Logout Server

EMDS_SERVLET#

EMDS Sync Request

EMDS_TAP_SERVER#

EMDS TAP Server

EMDS_TARGET_RESOLVER#

EMDS Target Resolver Request

OBSCORE_TABLE#

Fully qualified ObsCore table or view name (including schema)

TIMEOUT = 60#

Methods Documentation

help(name: str | None = None) None#

Print info about configuration items.

Parameters:
namestr, optional

Name of the configuration item to be described. If no name is provided then info about all the configuration items will be printed.

Examples

>>> from astropy import conf
>>> conf.help("unicode_output")
ConfigItem: unicode_output
  cfgtype='boolean'
  defaultvalue=False
  description='When True, use Unicode characters when outputting values, and displaying widgets at the console.'
  module=astropy
  value=False
items() Generator[tuple[str, ConfigItem], None, None]#

Iterate over configuration item (name, value) pairs.

keys() Generator[str, None, None]#
reload(attr=None)#

Reload a configuration item from the configuration file.

Parameters:
attrstr, optional

The name of the configuration parameter to reload. If not provided, reload all configuration parameters.

reset(attr: str | None = None) None#

Reset a configuration item to its default.

Parameters:
attrstr, optional

The name of the configuration parameter to reload. If not provided, reset all configuration parameters.

set_temp(attr, value)#

Temporarily set a configuration value.

Parameters:
attrstr

Configuration item name

valueobject

The value to set temporarily.

Examples

>>> import astropy
>>> with astropy.conf.set_temp('use_color', False):
...     pass
...     # console output will not contain color
>>> # console output contains color again...
values() Generator[ConfigItem, None, None]#

Iterate over configuration item values.