# Path: gwo/websiteoptimizer/data.py
# GWO_NS = '{http://schemas.google.com/analytics/websiteoptimizer/2009}%s'
# class GWOElementClass(type):
# class BaseGWOElement(atom.core.XmlElement):
# class ExperimentId(BaseGWOElement):
# class ExperimentType(BaseGWOElement):
# class ExperimentNotes(BaseGWOElement):
# class AnalyticsAccountId(BaseGWOElement):
# class Status(BaseGWOElement):
# class Coverage(BaseGWOElement):
# class NumAbPageVariations(BaseGWOElement):
# class NumSections(BaseGWOElement):
# class NumCombinations(BaseGWOElement):
# class SourceExperimentId(BaseGWOElement):
# class VerificationCombo(BaseGWOElement):
# class VerificationComboCoverage(BaseGWOElement):
# class AutoPruneMode(BaseGWOElement):
# class ControlScript(BaseGWOElement):
# class TrackingScript(BaseGWOElement):
# class ConversionScript(BaseGWOElement):
# class GwoLink(atom.data.Link):
# class SectionId(BaseGWOElement):
# class NumVariations(BaseGWOElement):
# class SectionBeginScript(BaseGWOElement):
# class SectionEndScript(BaseGWOElement):
# class VariationId(BaseGWOElement):
# class ComboId(BaseGWOElement):
# class ComboString(BaseGWOElement):
# class ComboActive(BaseGWOElement):
# class GwoLinkFinder(GaLinkFinder):
# class ExperimentEntry(GDEntry, GetProperty, GwoLinkFinder):
# class ExperimentFeed(GDFeed):
# class SectionEntry(GDEntry, GetProperty):
# class SectionFeed(GDFeed):
# class VariationEntry(GDEntry, GetProperty):
# class VariationFeed(GDFeed):
# class CombinationEntry(GDEntry, GetProperty):
# class CombinationFeed(GDFeed):
#     def __new__(mcs, classname, bases, classdict):
#     def __init__(self, *args, **kwargs):
#     def get_test_link(self):
#     def get_goal_link(self):
#     def get_report_url(self):
#     def get_configuration_url(self):
#     def update_test_link(self, url):
#     def update_goal_link(self, url):


import gdata
import atom
from gdata.client import GDClient
from gdata.analytics.client import AnalyticsBaseQuery, AnalyticsClient
from gwo.websiteoptimizer import data as gwo_data
        
        :param feed_uri: The REST URI to get the feeds
        :type feed_uri: ExperimentQuery
        """
        exp = self.get_experiment(feed_uri)
        exp.status.text = "Finished"
        return self.update(exp, force=True)
    
    def get_sections(self, feed_uri, auth_token=None, **kwargs):
        """
        Get a section feed for an experiment.
        
        :param SectionQuery feed_uri: The SectionQuery from which to get the feed
        :returns: SectionFeed
        """
        return self.get_feed(
            feed_uri,
            desired_class=gwo_data.SectionFeed,
            auth_token=auth_token,
            **kwargs)
    
    def get_section(self, feed_uri, auth_token=None, **kwargs):
        """
        Get a section for an experiment.
        
        :param SectionQuery feed_uri: The SectionQuery from which to get the SectionEntry
        :returns: SectionEntry
        """
        return self.get_entry(
            feed_uri,

# Path: gwo/websiteoptimizer/data.py
# GWO_NS = '{http://schemas.google.com/analytics/websiteoptimizer/2009}%s'
# class GWOElementClass(type):
# class BaseGWOElement(atom.core.XmlElement):
# class ExperimentId(BaseGWOElement):
# class ExperimentType(BaseGWOElement):
# class ExperimentNotes(BaseGWOElement):
# class AnalyticsAccountId(BaseGWOElement):
# class Status(BaseGWOElement):
# class Coverage(BaseGWOElement):
# class NumAbPageVariations(BaseGWOElement):
# class NumSections(BaseGWOElement):
# class NumCombinations(BaseGWOElement):
# class SourceExperimentId(BaseGWOElement):
# class VerificationCombo(BaseGWOElement):
# class VerificationComboCoverage(BaseGWOElement):
# class AutoPruneMode(BaseGWOElement):
# class ControlScript(BaseGWOElement):
# class TrackingScript(BaseGWOElement):
# class ConversionScript(BaseGWOElement):
# class GwoLink(atom.data.Link):
# class SectionId(BaseGWOElement):
# class NumVariations(BaseGWOElement):
# class SectionBeginScript(BaseGWOElement):
# class SectionEndScript(BaseGWOElement):
# class VariationId(BaseGWOElement):
# class ComboId(BaseGWOElement):
# class ComboString(BaseGWOElement):
# class ComboActive(BaseGWOElement):
# class GwoLinkFinder(GaLinkFinder):
# class ExperimentEntry(GDEntry, GetProperty, GwoLinkFinder):
# class ExperimentFeed(GDFeed):
# class SectionEntry(GDEntry, GetProperty):
# class SectionFeed(GDFeed):
# class VariationEntry(GDEntry, GetProperty):
# class VariationFeed(GDFeed):
# class CombinationEntry(GDEntry, GetProperty):
# class CombinationFeed(GDFeed):
#     def __new__(mcs, classname, bases, classdict):
#     def __init__(self, *args, **kwargs):
#     def get_test_link(self):
#     def get_goal_link(self):
#     def get_report_url(self):
#     def get_configuration_url(self):
#     def update_test_link(self, url):
#     def update_goal_link(self, url):


# Path: gwo/websiteoptimizer/client.py
import gdata
import atom
from gdata.client import GDClient
from gdata.analytics.client import AnalyticsBaseQuery, AnalyticsClient
from gwo.websiteoptimizer import data as gwo_data

        
        :param feed_uri: The REST URI to get the feeds
        :type feed_uri: ExperimentQuery
        """
        exp = self.get_experiment(feed_uri)
        exp.status.text = "Finished"
        return self.update(exp, force=True)
    
    def get_sections(self, feed_uri, auth_token=None, **kwargs):
        """
        Get a section feed for an experiment.
        
        :param SectionQuery feed_uri: The SectionQuery from which to get the feed
        :returns: SectionFeed
        """
        return self.get_feed(
            feed_uri,
            desired_class=gwo_data.SectionFeed,
            auth_token=auth_token,
            **kwargs)
    
    def get_section(self, feed_uri, auth_token=None, **kwargs):
        """
        Get a section for an experiment.
        
        :param SectionQuery feed_uri: The SectionQuery from which to get the SectionEntry
        :returns: SectionEntry
        """
        return self.get_entry(
            feed_uri,

            desired_class=gwo_data.SectionEntry,