예제 #1
0
    def __init__(self, temboo_session, temboo_path):
        """ Create a Choreography instance.

        temboo_session -- an instance of TembooSession.
        temboo_path -- a string (or an object that can be converted
                       into a string) that represents the location
                       of this choreo on the Temboo server. For example

                       /Choreos/MyStore/RunReport
        
        """
        _TembooResource.__init__(self, temboo_session, temboo_path)
    def __init__(self, temboo_session, temboo_path):
        """ Create a Choreography instance.

        temboo_session -- an instance of TembooSession.
        temboo_path -- a string (or an object that can be converted
                       into a string) that represents the location
                       of this choreo on the Temboo server. For example

                       /Choreos/MyStore/RunReport
        
        """
        _TembooResource.__init__(self, temboo_session, temboo_path)
예제 #3
0
    def __init__(self, temboo_session, exec_id, choreo_uri=None):
        """ Create a ChoreographyExecution instance.

        ChoreographyExecution objects are normally created and
        returned by Choreography.execute_async.

        temboo_session -- an instance of TembooSession.
        exec_id -- the execution id of the executing choreo
        
        """
        _TembooResource.__init__(self, temboo_session, exec_id)
        self._result_set = None
        self._status = None
        self.choreo_uri = choreo_uri
        self.exec_id = exec_id
    def __init__(self, temboo_session, exec_id, choreo_uri=None):
        """ Create a ChoreographyExecution instance.

        ChoreographyExecution objects are normally created and
        returned by Choreography.execute_async.

        temboo_session -- an instance of TembooSession.
        exec_id -- the execution id of the executing choreo
        
        """
        _TembooResource.__init__(self, temboo_session, exec_id)
        self._result_set = None
        self._status = None
        self.choreo_uri = choreo_uri
        self.exec_id = exec_id