query_names

dqsegdb2.query.query_names(ifo, host='https://segments.ligo.org', **request_kwargs)

Query for all defined flags for the given ifo

Parameters
ifostr

the interferometer prefix for which to query

hoststr, optional

the URL of the database, defaults to DEFAULT_SEGMENT_SERVER

Returns
flagsset

the set of all define flag names in the format {ifo}:{name}

Examples

>>> from dqsegdb2.query import query_names
>>> query_names('G1')