Sophie

Sophie

distrib > Mageia > 6 > x86_64 > media > core-release > by-pkgid > 7100f2b58690d0bf43c8eb8cfe1232ce > files > 1121

python-sqlobject-2.1.2-2.mga6.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

  <h1 class="pudge-member-page-heading">
    <tt>robust</tt>
  </h1>
  <h4 class="pudge-member-page-subheading">
    Module implementing error-catching version of send (sendRobust)
  </h4>
  <p class="pudge-member-parent-link">
    <small>
    The robust module is accessible via the
    <a href="module-sqlobject.include.pydispatch.html">
      <tt>sqlobject.include.pydispatch</tt>
    </a> module.
    </small>
  </p>
  <div id="pudge-section-nav">
  <ul>
    <li>
      <a href="#attributes" class="pudge-section-link">
        Attributes (3)
      </a>
    </li><li>
      <a href="#functions" class="pudge-section-link">
        Functions (1)
      </a>
    </li><li>
      <span class="pudge-missing-section-link">
        Classes
      </span>
    </li><li>
      <span class="pudge-missing-section-link">
        Modules
      </span>
    </li>
    <li>
      <a href="module-sqlobject.include.pydispatch.robust-index.html" class="pudge-section-link">
        Index
      </a>
    </li>
    <li>
      <a href="sqlobject/include/pydispatch/robust.py.html" class="pudge-section-link">
        Source
      </a>
    </li>
  </ul>
  </div>
  <div style="clear: left"></div>
  <hr>
    <a name="attributes"></a>
    <h2>Attributes</h2>
    <div class="pudge-member name">
    <a name="Anonymous"></a>
    <h4 class="pudge-member-name"><span class="prefix">a</span>
      <tt><a href="module-sqlobject.include.pydispatch.robust.html#Anonymous" class="pudge-obj-link">Anonymous</a></tt></h4>
    <div class="pudge-section rst">
      <pre>_Anonymous</pre>
    </div>
  </div><div class="pudge-member name">
    <a name="__package__"></a>
    <h4 class="pudge-member-name"><span class="prefix">a</span>
      <tt><a href="module-sqlobject.include.pydispatch.robust.html#__package__" class="pudge-obj-link">__package__</a></tt></h4>
    <div class="pudge-section rst">
      <pre>'sqlobject.include.pydispatch'</pre>
    </div>
  </div><div class="pudge-member name">
    <a name="Any"></a>
    <h4 class="pudge-member-name"><span class="prefix">a</span>
      <tt><a href="module-sqlobject.include.pydispatch.robust.html#Any" class="pudge-obj-link">Any</a></tt></h4>
    <div class="pudge-section rst">
      <pre>_Any</pre>
    </div>
  </div>
    <a name="functions"></a>
    <h2>Functions</h2>
    <div class="pudge-member routine ">
    <a name="sendRobust"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="module-sqlobject.include.pydispatch.robust.html#sendRobust" class="pudge-obj-link">sendRobust</a>(signal=_Any, sender=_Anonymous, *arguments, **named)</tt>
      <a href="sqlobject/include/pydispatch/robust.py.html?f=5&amp;l=58#5" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    <p class="pudge-member-blurb">
      Send signal from sender to all connected receivers catching errors
    </p>
    <p>signal -- (hashable) signal value, see connect for details</p>
<p>sender -- the sender of the signal</p>
<blockquote>
<p>if Any, only receivers registered for Any will receive
the message.</p>
<p>if Anonymous, only receivers registered to receive
messages from Anonymous or Any will receive the message</p>
<p>Otherwise can be any python object (normally one
registered with a connect if you actually want
something to occur).</p>
</blockquote>
<dl class="docutils">
<dt>arguments -- positional arguments which will be passed to</dt>
<dd><em>all</em> receivers. Note that this may raise TypeErrors
if the receivers do not allow the particular arguments.
Note also that arguments are applied before named
arguments, so they should be used with care.</dd>
<dt>named -- named arguments which will be filtered according</dt>
<dd>to the parameters of the receivers to only provide those
acceptable to the receiver.</dd>
</dl>
<p>Return a list of tuple pairs [(receiver, response), ... ]</p>
<p>if any receiver raises an error (specifically any subclass of Exception),
the error instance is returned as the result for that receiver.</p>
    </div>
  </div>
  <p>
    <small>
    See 
    <a href="sqlobject/include/pydispatch/robust.py.html" title="sqlobject/include/pydispatch/robust.py:0">the source</a>
    for more information.
    </small>
  </p>