@classmethod<EOL><INDENT>def query(cls, flags, *args, **kwargs):<DEDENT>
query_ = _select_query_method(<EOL>cls, kwargs.get('<STR_LIT:url>', DEFAULT_SEGMENT_SERVER))<EOL>return query_(flags, *args, **kwargs)<EOL>
Query for segments of a set of flags.

        This method intelligently selects the `~DataQualityDict.query_segdb`
        or the `~DataQualityDict.query_dqsegdb` methods based on the
        ``url`` kwarg given.

        Parameters
        ----------
        flags : `iterable`
            A list of flag names for which to query.

        *args
            Either, two `float`-like numbers indicating the
            GPS [start, stop) interval, or a `SegmentList`
            defining a number of summary segments

        url : `str`, optional
            URL of the segment database, defaults to
            ``$DEFAULT_SEGMENT_SERVER`` environment variable, or
            ``'https://segments.ligo.org'``

        See Also
        --------
        DataQualityDict.query_segdb
        DataQualityDict.query_dqsegdb
            for details on the actual query engine, and documentation of
            other keyword arguments appropriate for each query

        Returns
        -------
        flagdict : `DataQualityDict`
            A `dict` of `(name, DataQualityFlag)` pairs