(timing_context, skip_fixtures=False)
return providers
Get restore providers which contribute directly to the XML.

    Each provider has a `get_elements(restore_state)` method which
    returns an iterable. Each item yielded by the returned iterable is
    either an `cElementTree.Element` object or a UTF-8 encoded string
    containing one or more XML elements. The string form must be wrapped
    in an enclosing XML element to construct valid XML.
Get restore providers which contribute directly to the XML.
Get restore providers which contribute directly to the XML .
def get_element_providers(timing_context, skip_fixtures=False):
    """
    Get restore providers which contribute directly to the XML.

    Each provider has a `get_elements(restore_state)` method which
    returns an iterable. Each item yielded by the returned iterable is
    either an `cElementTree.Element` object or a UTF-8 encoded string
    containing one or more XML elements. The string form must be wrapped
    in an enclosing XML element to construct valid XML.
    """
    # note that ordering matters in this list as this is the order that the items
    # will appear in the XML, and have access to the RestoreState object
    providers = [
        SyncElementProvider(timing_context),
        RegistrationElementProvider(timing_context),
    ]

    if not skip_fixtures:
        providers.append(FixtureElementProvider(timing_context))

    return providers
def get_element_providers ( timing_context , skip_fixtures = False ) : # note that ordering matters in this list as this is the order that the items # will appear in the XML, and have access to the RestoreState object providers = [ SyncElementProvider ( timing_context ) , RegistrationElementProvider ( timing_context ) , ] if not skip_fixtures : providers . append ( FixtureElementProvider ( timing_context ) ) return providers