ServerConfig#

class drms.ServerConfig(config=None, **kwargs)[source]#

Bases: object

DRMS Server configuration.

Additional keyword arguments can be used to add additional entries to config. In case a keyword argument already exists in the config dictionary, the config entry will be replaced by the kwargs value.

Available config keys are:

name cgi_baseurl cgi_show_series cgi_jsoc_info cgi_jsoc_fetch cgi_check_address cgi_show_series_wrapper show_series_wrapper_dbhost url_show_series url_jsoc_info url_jsoc_fetch url_check_address url_show_series_wrapper encoding http_download_baseurl ftp_download_baseurl

Parameters:
  • name (str) – Server configuration name.

  • config (dict) – Dictionary containing configuration entries (see below for a list of available entries).

Methods Summary

check_supported(op)

Check if an operation is supported by the server.

copy()

to_dict()

Methods Documentation

check_supported(op)[source]#

Check if an operation is supported by the server.

copy()[source]#
to_dict()[source]#