Module Expr Str Assign NameStore ListLoad Str Str Str Str Str ImportFrom alias Import alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Return ListComp NameLoad comprehension NameStore NameLoad CompareIn NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Return NameLoad decorator_list Assign NameStore Call NameLoad NameLoad decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Raise NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad For TupleStore NameStore NameStore NameStore Call NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str For NameStore AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Return NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore ListLoad For NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Str FunctionDef arguments args NameParam defaults body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore ListLoad NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body Return Call NameLoad ListLoad NameLoad orelse Return Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore ListLoad Assign NameStore ListLoad For NameStore NameLoad body TryExcept body Assign NameStore Call NameLoad NameLoad handlers ExceptHandler type NameLoad body If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr NameLoad orelse If Call NameLoad NameLoad Str body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If Call NameLoad NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad orelse Raise NameLoad orelse Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad If NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad If CompareEq Call NameLoad NameLoad Num body Return SubscriptLoad NameLoad Index Num orelse Return Call NameLoad NameLoad decorator_list
N/A N/A This module contains functions and classes used for extracting
endpoint information out of a Yadis XRD file using the ElementTree XML
parser.
 N/A __all__ N/A BasicServiceEndpoint mkFilter IFilter TransformFilterMaker CompoundFilter openid.yadis.etxrd expandService N/A collections BasicServiceEndpoint N/A object N/A N/A Generic endpoint object that contains parsed service
    information, as well as a reference to the service element from
    which it was generated. If there is more than one xrd:Type or
    xrd:URI in the xrd:Service, this object represents just one of
    those pairs.

    This object can be used as a filter, because it implements
    fromBasicServiceEndpoint.

    The simplest kind of filter you can write implements
    fromBasicServiceEndpoint, which takes one of these objects.
     __init__ N/A N/A self yadis_url type_uris uri service_element N/A N/A N/A N/A self type_uris type_uris N/A N/A self yadis_url yadis_url N/A N/A self uri uri N/A N/A self service_element service_element N/A matchTypes N/A N/A self type_uris N/A N/A N/A Query this endpoint to see if it has any of the given type
        URIs. This is useful for implementing other endpoint classes
        that e.g. need to check for the presence of multiple versions
        of a single protocol.

        @param type_uris: The URIs that you wish to check
        @type type_uris: iterable of str

        @return: all types that are in both in type_uris and
            self.type_uris
         N/A N/A uri N/A uri type_uris N/A uri N/A self type_uris N/A fromBasicServiceEndpoint N/A N/A endpoint N/A N/A N/A Trivial transform from a basic endpoint to itself. This
        method exists to allow BasicServiceEndpoint to be used as a
        filter.

        If you are subclassing this object, re-implement this function.

        @param endpoint: An instance of BasicServiceEndpoint
        @return: The object that was passed in, with no processing.
         N/A endpoint N/A N/A fromBasicServiceEndpoint N/A staticmethod fromBasicServiceEndpoint N/A IFilter N/A object N/A N/A Interface for Yadis filter objects. Other filter-like things
    are convertable to this class. getServiceEndpoints N/A N/A self yadis_url service_element N/A N/A N/A Returns an iterator of endpoint objects N/A NotImplementedError N/A N/A TransformFilterMaker N/A object N/A N/A Take a list of basic filters and makes a filter that transforms
    the basic filter into a top-level filter. This is mostly useful
    for the implementation of mkFilter, which should only be needed
    for special cases or internal use by this library.

    This object is useful for creating simple filters for services
    that use one URI and are specified by one Type (we expect most
    Types will fit this paradigm).

    Creates a BasicServiceEndpoint object and apply the filter
    functions to it until one of them returns a value.
     __init__ N/A N/A self filter_functions N/A N/A N/A Initialize the filter maker's state

        @param filter_functions: The endpoint transformer functions to
            apply to the basic endpoint. These are called in turn
            until one of them does not return None, and the result of
            that transformer is returned.
         N/A N/A self filter_functions filter_functions N/A getServiceEndpoints N/A N/A self yadis_url service_element N/A N/A N/A Returns an iterator of endpoint objects produced by the
        filter functions. N/A endpoints N/A N/A N/A type_uris uri _ N/A expandService service_element N/A N/A endpoint N/A BasicServiceEndpoint yadis_url type_uris uri service_element N/A e N/A N/A self applyFilters endpoint N/A N/A e None N/A N/A N/A N/A endpoints append e N/A endpoints N/A applyFilters N/A N/A self endpoint N/A N/A N/A Apply filter functions to an endpoint until one of them
        returns non-None. N/A filter_function N/A self filter_functions N/A N/A e N/A filter_function endpoint N/A N/A e None N/A N/A e N/A None N/A N/A CompoundFilter N/A object N/A N/A Create a new filter that applies a set of filters to an endpoint
    and collects their results.
     __init__ N/A N/A self subfilters N/A N/A N/A N/A self subfilters subfilters N/A getServiceEndpoints N/A N/A self yadis_url service_element N/A N/A N/A Generate all endpoint objects for all of the subfilters of
        this filter and return their concatenation. N/A endpoints N/A N/A subfilter N/A self subfilters N/A N/A N/A N/A endpoints extend N/A N/A subfilter getServiceEndpoints yadis_url service_element N/A endpoints N/A N/A N/A filter_type_error N/A TypeError Expected a filter, an endpoint, a callable or a list of any of these. mkFilter N/A N/A parts N/A N/A N/A Convert a filter-convertable thing into a filter

    @param parts: a filter, an endpoint, a callable, or a list of any of these.
     N/A N/A parts None N/A N/A parts N/A BasicServiceEndpoint N/A N/A N/A parts N/A list parts N/A N/A N/A TypeError N/A N/A N/A mkCompoundFilter N/A parts N/A N/A N/A mkCompoundFilter parts N/A mkCompoundFilter N/A N/A parts N/A N/A N/A Create a filter out of a list of filter-like things

    Used by mkFilter

    @param parts: list of filter, endpoint, callable or list of any of these
     N/A transformers N/A N/A filters N/A N/A subfilter parts N/A N/A N/A N/A subfilter N/A list subfilter N/A N/A N/A TypeError N/A N/A N/A hasattr subfilter getServiceEndpoints N/A N/A N/A N/A filters append subfilter N/A N/A N/A hasattr subfilter fromBasicServiceEndpoint N/A N/A N/A N/A transformers append N/A subfilter fromBasicServiceEndpoint N/A N/A N/A isinstance subfilter N/A collections Callable N/A N/A N/A N/A transformers append subfilter N/A N/A filter_type_error N/A N/A N/A N/A filters append N/A mkCompoundFilter subfilter N/A transformers N/A N/A N/A N/A filters append N/A TransformFilterMaker transformers N/A N/A N/A len filters 1 N/A N/A N/A filters N/A 0 N/A N/A N/A CompoundFilter filters N/A