You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by nn...@apache.org on 2015/03/24 02:09:05 UTC

mesos git commit: Updated launchTasks scheduler Python API docstring.

Repository: mesos
Updated Branches:
  refs/heads/master 274e0768d -> 89186759a


Updated launchTasks scheduler Python API docstring.

Review: https://reviews.apache.org/r/32306


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/89186759
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/89186759
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/89186759

Branch: refs/heads/master
Commit: 89186759a593c57fca9667d2a8980ca2e4b929c6
Parents: 274e076
Author: Itamar Ostricher <it...@yowza3d.com>
Authored: Mon Mar 23 17:46:56 2015 -0700
Committer: Niklas Q. Nielsen <ni...@mesosphere.io>
Committed: Mon Mar 23 17:46:56 2015 -0700

----------------------------------------------------------------------
 src/python/interface/src/mesos/interface/__init__.py | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/89186759/src/python/interface/src/mesos/interface/__init__.py
----------------------------------------------------------------------
diff --git a/src/python/interface/src/mesos/interface/__init__.py b/src/python/interface/src/mesos/interface/__init__.py
index 15af555..e7b208a 100644
--- a/src/python/interface/src/mesos/interface/__init__.py
+++ b/src/python/interface/src/mesos/interface/__init__.py
@@ -186,8 +186,10 @@ class SchedulerDriver(object):
       Launches the given set of tasks. Any resources remaining (i.e., not
       used by the tasks or their executors) will be considered declined.
       The specified filters are applied on all unused resources (see
-      mesos.proto for a description of Filters.) Invoking this function with
-      an empty collection of tasks declines the offers in entirety (see
+      mesos.proto for a description of Filters). Available resources are
+      aggregated when multiple offers are provided. Note that all offers
+      must belong to the same slave. Invoking this function with an empty
+      collection of tasks declines the offers in entirety (see
       Scheduler.declineOffer). Note that passing a single offer is also
       supported.
     """