Sophie

Sophie

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

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>CommandStatus</tt>
  </h1>
  <p class="pudge-member-parent-link">
    <small>
    The CommandStatus class is accessible via the
    <a href="module-sqlobject.manager.command.html">
      <tt>sqlobject.manager.command</tt>
    </a> module.
    </small>
  </p>
  <div id="pudge-section-nav">
  <ul>
    <li>
      <a href="#attributes" class="pudge-section-link">
        Attributes (12)
      </a>
    </li><li>
      <a href="#methods" class="pudge-section-link">
        Methods (21)
      </a>
    </li>
    <li>
      <a href="sqlobject/manager/command.py.html?f=717&amp;l=788#717" 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="min_args"></a>
    <h4 class="pudge-member-name"><span class="prefix">a</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#min_args" class="pudge-obj-link">min_args</a></tt></h4>
    <div class="pudge-section rst">
      <pre>0</pre>
    </div>
  </div><div class="pudge-member name">
    <a name="help"></a>
    <h4 class="pudge-member-name"><span class="prefix">a</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#help" class="pudge-obj-link">help</a></tt></h4>
    <div class="pudge-section rst">
      <pre>'This command checks the SQLObject definition and checks if the tables in the database match.  It can always test for missing tables, and on some databases can test for the existance of other tables.  Column types are not currently checked.'</pre>
    </div>
  </div><div class="pudge-member name">
    <a name="parser"></a>
    <h4 class="pudge-member-name"><span class="prefix">a</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#parser" class="pudge-obj-link">parser</a></tt></h4>
    <div class="pudge-section rst">
      <pre>&lt;optparse.OptionParser instance at 0xa53cdec></pre>
    </div>
  </div><div class="pudge-member name">
    <a name="aliases"></a>
    <h4 class="pudge-member-name"><span class="prefix">a</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#aliases" class="pudge-obj-link">aliases</a></tt></h4>
    <div class="pudge-section rst">
      <pre>()</pre>
    </div>
  </div><div class="pudge-member name">
    <a name="max_args"></a>
    <h4 class="pudge-member-name"><span class="prefix">a</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#max_args" class="pudge-obj-link">max_args</a></tt></h4>
    <div class="pudge-section rst">
      <pre>0</pre>
    </div>
  </div><div class="pudge-member name">
    <a name="max_args_error"></a>
    <h4 class="pudge-member-name"><span class="prefix">a</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#max_args_error" class="pudge-obj-link">max_args_error</a></tt></h4>
    <div class="pudge-section rst">
      <pre>'You must provide no more than %(max_args)s arguments'</pre>
    </div>
  </div><div class="pudge-member name">
    <a name="description"></a>
    <h4 class="pudge-member-name"><span class="prefix">a</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#description" class="pudge-obj-link">description</a></tt></h4>
    <div class="pudge-section rst">
      <pre>None</pre>
    </div>
  </div><div class="pudge-member name">
    <a name="prog_name"></a>
    <h4 class="pudge-member-name"><span class="prefix">a</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#prog_name" class="pudge-obj-link">prog_name</a></tt></h4>
    <div class="pudge-section rst">
      <pre>&lt;property object at 0xa8f016c></pre>
    </div>
  </div><div class="pudge-member name">
    <a name="name"></a>
    <h4 class="pudge-member-name"><span class="prefix">a</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#name" class="pudge-obj-link">name</a></tt></h4>
    <div class="pudge-section rst">
      <pre>'status'</pre>
    </div>
  </div><div class="pudge-member name">
    <a name="summary"></a>
    <h4 class="pudge-member-name"><span class="prefix">a</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#summary" class="pudge-obj-link">summary</a></tt></h4>
    <div class="pudge-section rst">
      <pre>'Show status of classes vs. database'</pre>
    </div>
  </div><div class="pudge-member name">
    <a name="min_args_error"></a>
    <h4 class="pudge-member-name"><span class="prefix">a</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#min_args_error" class="pudge-obj-link">min_args_error</a></tt></h4>
    <div class="pudge-section rst">
      <pre>'You must provide at least %(min_args)s arguments'</pre>
    </div>
  </div><div class="pudge-member name">
    <a name="required_args"></a>
    <h4 class="pudge-member-name"><span class="prefix">a</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#required_args" class="pudge-obj-link">required_args</a></tt></h4>
    <div class="pudge-section rst">
      <pre>[]</pre>
    </div>
  </div>
    <a name="methods"></a>
    <h2>Methods</h2>
    <div class="pudge-member routine alias">
    <a name="__sizeof__"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#__sizeof__" class="pudge-obj-link">__sizeof__</a>(...)</tt>
      <a href="__builtin__.py.html" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    <p class="pudge-member-blurb">
      __sizeof__() -> int
size of object in memory, in bytes
    </p>
    </div>
  </div><div class="pudge-member routine alias">
    <a name="__format__"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#__format__" class="pudge-obj-link">__format__</a>(...)</tt>
      <a href="__builtin__.py.html" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    <p class="pudge-member-blurb">
      default object formatter
    </p>
    </div>
  </div><div class="pudge-member routine alias">
    <a name="__subclasshook__"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#__subclasshook__" class="pudge-obj-link">__subclasshook__</a>(...)</tt>
      <a href="None.html" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    <p class="pudge-member-blurb">
      Abstract classes can override this to customize issubclass().
    </p>
    <p>This is invoked early on by abc.ABCMeta.__subclasscheck__().
It should return True, False or NotImplemented.  If it returns
NotImplemented, the normal algorithm is used.  Otherwise, it
overrides the normal algorithm (and the outcome is cached).</p>
    </div>
  </div><div class="pudge-member routine ">
    <a name="orderClassesByDependencyLevel"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#orderClassesByDependencyLevel" class="pudge-obj-link">orderClassesByDependencyLevel</a>(self, classes)</tt>
      <a href="sqlobject/manager/command.py.html?f=187&amp;l=261#187" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    <p class="pudge-member-blurb">
      Return classes ordered by their depth in the class dependency
tree (this is <em>not</em> the inheritance tree), from the
top level (independant) classes to the deepest level.
The dependency tree is defined by the foreign key relations.
    </p>
    </div>
  </div><div class="pudge-member routine ">
    <a name="__classinit__"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#__classinit__" class="pudge-obj-link">__classinit__</a>(cls, new_args)</tt>
      <a href="sqlobject/manager/command.py.html?f=262&amp;l=267#262" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    </div>
  </div><div class="pudge-member routine ">
    <a name="__init__"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#__init__" class="pudge-obj-link">__init__</a>(self, invoked_as, command_name, args, runner)</tt>
      <a href="sqlobject/manager/command.py.html?f=268&amp;l=273#268" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    </div>
  </div><div class="pudge-member routine ">
    <a name="run"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#run" class="pudge-obj-link">run</a>(self)</tt>
      <a href="sqlobject/manager/command.py.html?f=274&amp;l=310#274" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    </div>
  </div><div class="pudge-member routine ">
    <a name="classes"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#classes" class="pudge-obj-link">classes</a>(self, require_connection=True, require_some=False)</tt>
      <a href="sqlobject/manager/command.py.html?f=311&amp;l=367#311" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    </div>
  </div><div class="pudge-member routine ">
    <a name="classes_from_module"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#classes_from_module" class="pudge-obj-link">classes_from_module</a>(self, module)</tt>
      <a href="sqlobject/manager/command.py.html?f=368&amp;l=383#368" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    </div>
  </div><div class="pudge-member routine ">
    <a name="connection"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#connection" class="pudge-obj-link">connection</a>(self)</tt>
      <a href="sqlobject/manager/command.py.html?f=384&amp;l=395#384" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    </div>
  </div><div class="pudge-member routine ">
    <a name="config"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#config" class="pudge-obj-link">config</a>(self)</tt>
      <a href="sqlobject/manager/command.py.html?f=396&amp;l=408#396" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    </div>
  </div><div class="pudge-member routine ">
    <a name="ini_config"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#ini_config" class="pudge-obj-link">ini_config</a>(self, conf_fn)</tt>
      <a href="sqlobject/manager/command.py.html?f=409&amp;l=448#409" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    </div>
  </div><div class="pudge-member routine ">
    <a name="classes_from_package"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#classes_from_package" class="pudge-obj-link">classes_from_package</a>(self, package_name)</tt>
      <a href="sqlobject/manager/command.py.html?f=449&amp;l=478#449" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    </div>
  </div><div class="pudge-member routine ">
    <a name="classes_from_egg"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#classes_from_egg" class="pudge-obj-link">classes_from_egg</a>(self, egg_spec)</tt>
      <a href="sqlobject/manager/command.py.html?f=479&amp;l=491#479" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    </div>
  </div><div class="pudge-member routine ">
    <a name="load_options_from_egg"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#load_options_from_egg" class="pudge-obj-link">load_options_from_egg</a>(self, egg_spec)</tt>
      <a href="sqlobject/manager/command.py.html?f=492&amp;l=500#492" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    </div>
  </div><div class="pudge-member routine ">
    <a name="config_from_egg"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#config_from_egg" class="pudge-obj-link">config_from_egg</a>(self, egg_spec, warn_no_sqlobject=True)</tt>
      <a href="sqlobject/manager/command.py.html?f=501&amp;l=519#501" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    </div>
  </div><div class="pudge-member routine ">
    <a name="ask"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#ask" class="pudge-obj-link">ask</a>(self, prompt, safe=False, default=True)</tt>
      <a href="sqlobject/manager/command.py.html?f=527&amp;l=541#527" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    </div>
  </div><div class="pudge-member routine ">
    <a name="shorten_filename"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#shorten_filename" class="pudge-obj-link">shorten_filename</a>(self, fn)</tt>
      <a href="sqlobject/manager/command.py.html?f=542&amp;l=550#542" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    <p class="pudge-member-blurb">
      Shortens a filename to make it relative to the current
directory (if it can).  For display purposes.
    </p>
    </div>
  </div><div class="pudge-member routine ">
    <a name="open_editor"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#open_editor" class="pudge-obj-link">open_editor</a>(self, pretext, breaker=None, extension='.txt')</tt>
      <a href="sqlobject/manager/command.py.html?f=551&amp;l=572#551" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    <p class="pudge-member-blurb">
      Open an editor with the given text.  Return the new text,
or None if no edits were made.  If given, everything after
    <cite>breaker</cite>
   will be ignored.
    </p>
    </div>
  </div><div class="pudge-member routine ">
    <a name="print_class"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#print_class" class="pudge-obj-link">print_class</a>(self, soClass)</tt>
      <a href="sqlobject/manager/command.py.html?f=729&amp;l=734#729" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    </div>
  </div><div class="pudge-member routine ">
    <a name="command"></a>
    <h4 class="pudge-member-name"><span class="prefix">f</span>
      <tt><a href="class-sqlobject.manager.command.CommandStatus.html#command" class="pudge-obj-link">command</a>(self)</tt>
      <a href="sqlobject/manager/command.py.html?f=735&amp;l=788#735" title="View Source">...</a>
    </h4>
    <div class="pudge-section rst">
    </div>
  </div>
  <p>
    <small>
    See 
    <a href="sqlobject/manager/command.py.html?f=717&amp;l=788#717" title="sqlobject/manager/command.py:717">the source</a>
    for more information.
    </small>
  </p>