1 |
|
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
|
3 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
|
4 |
|
5 <html xmlns="http://www.w3.org/1999/xhtml"> |
|
6 <head> |
|
7 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
|
8 <title>pyams_zodbbrowser package — PyAMS User Guide 0.1.0 documentation</title> |
|
9 <link rel="stylesheet" href="_static/pyramid.css" type="text/css" /> |
|
10 <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> |
|
11 <script type="text/javascript"> |
|
12 var DOCUMENTATION_OPTIONS = { |
|
13 URL_ROOT: './', |
|
14 VERSION: '0.1.0', |
|
15 COLLAPSE_INDEX: false, |
|
16 FILE_SUFFIX: '.html', |
|
17 HAS_SOURCE: true, |
|
18 SOURCELINK_SUFFIX: '.txt' |
|
19 }; |
|
20 </script> |
|
21 <script type="text/javascript" src="_static/jquery.js"></script> |
|
22 <script type="text/javascript" src="_static/underscore.js"></script> |
|
23 <script type="text/javascript" src="_static/doctools.js"></script> |
|
24 <link rel="index" title="Index" href="genindex.html" /> |
|
25 <link rel="search" title="Search" href="search.html" /> |
|
26 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Neuton&subset=latin" type="text/css" media="screen" charset="utf-8" /> |
|
27 <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Nobile:regular,italic,bold,bolditalic&subset=latin" type="text/css" media="screen" charset="utf-8" /> |
|
28 <!--[if lte IE 6]> |
|
29 <link rel="stylesheet" href="_static/ie6.css" type="text/css" media="screen" charset="utf-8" /> |
|
30 <![endif]--> |
|
31 |
|
32 </head> |
|
33 <body> |
|
34 |
|
35 <div class="related" role="navigation" aria-label="related navigation"> |
|
36 <h3>Navigation</h3> |
|
37 <ul> |
|
38 <li class="right" style="margin-right: 10px"> |
|
39 <a href="genindex.html" title="General Index" |
|
40 accesskey="I">index</a></li> |
|
41 <li class="right" > |
|
42 <a href="py-modindex.html" title="Python Module Index" |
|
43 >modules</a> |</li> |
|
44 <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> »</li> |
|
45 </ul> |
|
46 </div> |
|
47 |
|
48 <div class="document"> |
|
49 <div class="documentwrapper"> |
|
50 <div class="bodywrapper"> |
|
51 <div class="body" role="main"> |
|
52 |
|
53 <div class="section" id="pyams-zodbbrowser-package"> |
|
54 <h1>pyams_zodbbrowser package<a class="headerlink" href="#pyams-zodbbrowser-package" title="Permalink to this headline">¶</a></h1> |
|
55 <div class="section" id="subpackages"> |
|
56 <h2>Subpackages<a class="headerlink" href="#subpackages" title="Permalink to this headline">¶</a></h2> |
|
57 <div class="toctree-wrapper compound"> |
|
58 <ul> |
|
59 <li class="toctree-l1"><a class="reference internal" href="pyams_zodbbrowser.interfaces.html">pyams_zodbbrowser.interfaces package</a><ul> |
|
60 <li class="toctree-l2"><a class="reference internal" href="pyams_zodbbrowser.interfaces.html#module-pyams_zodbbrowser.interfaces">Module contents</a></li> |
|
61 </ul> |
|
62 </li> |
|
63 <li class="toctree-l1"><a class="reference internal" href="pyams_zodbbrowser.tests.html">pyams_zodbbrowser.tests package</a><ul> |
|
64 <li class="toctree-l2"><a class="reference internal" href="pyams_zodbbrowser.tests.html#submodules">Submodules</a></li> |
|
65 <li class="toctree-l2"><a class="reference internal" href="pyams_zodbbrowser.tests.html#module-pyams_zodbbrowser.tests.test_utilsdocs">pyams_zodbbrowser.tests.test_utilsdocs module</a></li> |
|
66 <li class="toctree-l2"><a class="reference internal" href="pyams_zodbbrowser.tests.html#module-pyams_zodbbrowser.tests.test_utilsdocstrings">pyams_zodbbrowser.tests.test_utilsdocstrings module</a></li> |
|
67 <li class="toctree-l2"><a class="reference internal" href="pyams_zodbbrowser.tests.html#module-pyams_zodbbrowser.tests">Module contents</a></li> |
|
68 </ul> |
|
69 </li> |
|
70 <li class="toctree-l1"><a class="reference internal" href="pyams_zodbbrowser.zmi.html">pyams_zodbbrowser.zmi package</a><ul> |
|
71 <li class="toctree-l2"><a class="reference internal" href="pyams_zodbbrowser.zmi.html#submodules">Submodules</a></li> |
|
72 <li class="toctree-l2"><a class="reference internal" href="pyams_zodbbrowser.zmi.html#module-pyams_zodbbrowser.zmi.views">pyams_zodbbrowser.zmi.views module</a></li> |
|
73 <li class="toctree-l2"><a class="reference internal" href="pyams_zodbbrowser.zmi.html#module-pyams_zodbbrowser.zmi">Module contents</a></li> |
|
74 </ul> |
|
75 </li> |
|
76 </ul> |
|
77 </div> |
|
78 </div> |
|
79 <div class="section" id="submodules"> |
|
80 <h2>Submodules<a class="headerlink" href="#submodules" title="Permalink to this headline">¶</a></h2> |
|
81 </div> |
|
82 <div class="section" id="module-pyams_zodbbrowser.btreesupport"> |
|
83 <span id="pyams-zodbbrowser-btreesupport-module"></span><h2>pyams_zodbbrowser.btreesupport module<a class="headerlink" href="#module-pyams_zodbbrowser.btreesupport" title="Permalink to this headline">¶</a></h2> |
|
84 <p>BTrees are commonly used in the Zope world. This modules exposes the |
|
85 contents of BTrees nicely, abstracting away the implementation details.</p> |
|
86 <p>In the DB, every BTree can be represented by more than one persistent object, |
|
87 every one of those versioned separately. This is part of what makes BTrees |
|
88 efficient.</p> |
|
89 <p>The format of the picked BTree state is nicely documented in ZODB’s source |
|
90 code, specifically, BTreeTemplate.c and BucketTemplate.c.</p> |
|
91 <dl class="class"> |
|
92 <dt id="pyams_zodbbrowser.btreesupport.BTreeContainerState"> |
|
93 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.btreesupport.</code><code class="descname">BTreeContainerState</code><span class="sig-paren">(</span><em>type</em>, <em>state</em>, <em>tid</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.btreesupport.BTreeContainerState" title="Permalink to this definition">¶</a></dt> |
|
94 <dd><p>Bases: <a class="reference internal" href="#pyams_zodbbrowser.state.GenericState" title="pyams_zodbbrowser.state.GenericState"><code class="xref py py-class docutils literal"><span class="pre">pyams_zodbbrowser.state.GenericState</span></code></a></p> |
|
95 <p>Convenient access to a BTreeContainer’s items</p> |
|
96 <dl class="method"> |
|
97 <dt id="pyams_zodbbrowser.btreesupport.BTreeContainerState.listItems"> |
|
98 <code class="descname">listItems</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.btreesupport.BTreeContainerState.listItems" title="Permalink to this definition">¶</a></dt> |
|
99 <dd></dd></dl> |
|
100 |
|
101 </dd></dl> |
|
102 |
|
103 <dl class="class"> |
|
104 <dt id="pyams_zodbbrowser.btreesupport.EmptyOOBTreeState"> |
|
105 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.btreesupport.</code><code class="descname">EmptyOOBTreeState</code><span class="sig-paren">(</span><em>type</em>, <em>state</em>, <em>tid</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.btreesupport.EmptyOOBTreeState" title="Permalink to this definition">¶</a></dt> |
|
106 <dd><p>Bases: <a class="reference internal" href="#pyams_zodbbrowser.btreesupport.OOBTreeState" title="pyams_zodbbrowser.btreesupport.OOBTreeState"><code class="xref py py-class docutils literal"><span class="pre">pyams_zodbbrowser.btreesupport.OOBTreeState</span></code></a></p> |
|
107 <p>Empty OOBTrees pickle to None.</p> |
|
108 </dd></dl> |
|
109 |
|
110 <dl class="class"> |
|
111 <dt id="pyams_zodbbrowser.btreesupport.FolderState"> |
|
112 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.btreesupport.</code><code class="descname">FolderState</code><span class="sig-paren">(</span><em>type</em>, <em>state</em>, <em>tid</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.btreesupport.FolderState" title="Permalink to this definition">¶</a></dt> |
|
113 <dd><p>Bases: <a class="reference internal" href="#pyams_zodbbrowser.state.GenericState" title="pyams_zodbbrowser.state.GenericState"><code class="xref py py-class docutils literal"><span class="pre">pyams_zodbbrowser.state.GenericState</span></code></a></p> |
|
114 <p>Convenient access to a Folder’s items</p> |
|
115 <dl class="method"> |
|
116 <dt id="pyams_zodbbrowser.btreesupport.FolderState.listItems"> |
|
117 <code class="descname">listItems</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.btreesupport.FolderState.listItems" title="Permalink to this definition">¶</a></dt> |
|
118 <dd></dd></dl> |
|
119 |
|
120 </dd></dl> |
|
121 |
|
122 <dl class="class"> |
|
123 <dt id="pyams_zodbbrowser.btreesupport.OOBTreeHistory"> |
|
124 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.btreesupport.</code><code class="descname">OOBTreeHistory</code><span class="sig-paren">(</span><em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.btreesupport.OOBTreeHistory" title="Permalink to this definition">¶</a></dt> |
|
125 <dd><p>Bases: <a class="reference internal" href="#pyams_zodbbrowser.history.ZodbObjectHistory" title="pyams_zodbbrowser.history.ZodbObjectHistory"><code class="xref py py-class docutils literal"><span class="pre">pyams_zodbbrowser.history.ZodbObjectHistory</span></code></a></p> |
|
126 <dl class="method"> |
|
127 <dt id="pyams_zodbbrowser.btreesupport.OOBTreeHistory.loadState"> |
|
128 <code class="descname">loadState</code><span class="sig-paren">(</span><em>tid=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.btreesupport.OOBTreeHistory.loadState" title="Permalink to this definition">¶</a></dt> |
|
129 <dd></dd></dl> |
|
130 |
|
131 <dl class="method"> |
|
132 <dt id="pyams_zodbbrowser.btreesupport.OOBTreeHistory.loadStatePickle"> |
|
133 <code class="descname">loadStatePickle</code><span class="sig-paren">(</span><em>tid=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.btreesupport.OOBTreeHistory.loadStatePickle" title="Permalink to this definition">¶</a></dt> |
|
134 <dd></dd></dl> |
|
135 |
|
136 <dl class="method"> |
|
137 <dt id="pyams_zodbbrowser.btreesupport.OOBTreeHistory.rollback"> |
|
138 <code class="descname">rollback</code><span class="sig-paren">(</span><em>tid</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.btreesupport.OOBTreeHistory.rollback" title="Permalink to this definition">¶</a></dt> |
|
139 <dd></dd></dl> |
|
140 |
|
141 </dd></dl> |
|
142 |
|
143 <dl class="class"> |
|
144 <dt id="pyams_zodbbrowser.btreesupport.OOBTreeState"> |
|
145 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.btreesupport.</code><code class="descname">OOBTreeState</code><span class="sig-paren">(</span><em>type</em>, <em>state</em>, <em>tid</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.btreesupport.OOBTreeState" title="Permalink to this definition">¶</a></dt> |
|
146 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
147 <p>Non-empty OOBTrees have a complicated tuple structure.</p> |
|
148 <dl class="method"> |
|
149 <dt id="pyams_zodbbrowser.btreesupport.OOBTreeState.asDict"> |
|
150 <code class="descname">asDict</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.btreesupport.OOBTreeState.asDict" title="Permalink to this definition">¶</a></dt> |
|
151 <dd></dd></dl> |
|
152 |
|
153 <dl class="method"> |
|
154 <dt id="pyams_zodbbrowser.btreesupport.OOBTreeState.getError"> |
|
155 <code class="descname">getError</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.btreesupport.OOBTreeState.getError" title="Permalink to this definition">¶</a></dt> |
|
156 <dd></dd></dl> |
|
157 |
|
158 <dl class="method"> |
|
159 <dt id="pyams_zodbbrowser.btreesupport.OOBTreeState.getName"> |
|
160 <code class="descname">getName</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.btreesupport.OOBTreeState.getName" title="Permalink to this definition">¶</a></dt> |
|
161 <dd></dd></dl> |
|
162 |
|
163 <dl class="method"> |
|
164 <dt id="pyams_zodbbrowser.btreesupport.OOBTreeState.getParent"> |
|
165 <code class="descname">getParent</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.btreesupport.OOBTreeState.getParent" title="Permalink to this definition">¶</a></dt> |
|
166 <dd></dd></dl> |
|
167 |
|
168 <dl class="method"> |
|
169 <dt id="pyams_zodbbrowser.btreesupport.OOBTreeState.listAttributes"> |
|
170 <code class="descname">listAttributes</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.btreesupport.OOBTreeState.listAttributes" title="Permalink to this definition">¶</a></dt> |
|
171 <dd></dd></dl> |
|
172 |
|
173 <dl class="method"> |
|
174 <dt id="pyams_zodbbrowser.btreesupport.OOBTreeState.listItems"> |
|
175 <code class="descname">listItems</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.btreesupport.OOBTreeState.listItems" title="Permalink to this definition">¶</a></dt> |
|
176 <dd></dd></dl> |
|
177 |
|
178 </dd></dl> |
|
179 |
|
180 <dl class="class"> |
|
181 <dt id="pyams_zodbbrowser.btreesupport.OOBucketState"> |
|
182 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.btreesupport.</code><code class="descname">OOBucketState</code><span class="sig-paren">(</span><em>type</em>, <em>state</em>, <em>tid</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.btreesupport.OOBucketState" title="Permalink to this definition">¶</a></dt> |
|
183 <dd><p>Bases: <a class="reference internal" href="#pyams_zodbbrowser.state.GenericState" title="pyams_zodbbrowser.state.GenericState"><code class="xref py py-class docutils literal"><span class="pre">pyams_zodbbrowser.state.GenericState</span></code></a></p> |
|
184 <p>A single OOBTree bucket, should you wish to look at the internals</p> |
|
185 <p>Here’s the state description direct from BTrees/BucketTemplate.c:</p> |
|
186 <div class="highlight-default"><div class="highlight"><pre><span></span><span class="o">*</span> <span class="n">For</span> <span class="n">a</span> <span class="nb">set</span> <span class="n">bucket</span> <span class="p">(</span><span class="bp">self</span><span class="o">-></span><span class="n">values</span> <span class="ow">is</span> <span class="n">NULL</span><span class="p">),</span> <span class="n">a</span> <span class="n">one</span><span class="o">-</span><span class="nb">tuple</span> <span class="ow">or</span> <span class="n">two</span><span class="o">-</span><span class="nb">tuple</span><span class="o">.</span> <span class="n">The</span> |
|
187 <span class="o">*</span> <span class="n">first</span> <span class="n">element</span> <span class="ow">is</span> <span class="n">a</span> <span class="nb">tuple</span> <span class="n">of</span> <span class="n">keys</span><span class="p">,</span> <span class="n">of</span> <span class="n">length</span> <span class="bp">self</span><span class="o">-></span><span class="nb">len</span><span class="o">.</span> <span class="n">The</span> <span class="n">second</span> <span class="n">element</span> |
|
188 <span class="o">*</span> <span class="ow">is</span> <span class="n">the</span> <span class="nb">next</span> <span class="n">bucket</span><span class="p">,</span> <span class="n">present</span> <span class="k">if</span> <span class="ow">and</span> <span class="n">only</span> <span class="k">if</span> <span class="nb">next</span> <span class="ow">is</span> <span class="n">non</span><span class="o">-</span><span class="n">NULL</span><span class="p">:</span> |
|
189 <span class="o">*</span> |
|
190 <span class="o">*</span> <span class="p">(</span> |
|
191 <span class="o">*</span> <span class="p">(</span><span class="n">keys</span><span class="p">[</span><span class="mi">0</span><span class="p">],</span> <span class="n">keys</span><span class="p">[</span><span class="mi">1</span><span class="p">],</span> <span class="o">...</span><span class="p">,</span> <span class="n">keys</span><span class="p">[</span><span class="nb">len</span><span class="o">-</span><span class="mi">1</span><span class="p">]),</span> |
|
192 <span class="o">*</span> <span class="o"><</span><span class="bp">self</span><span class="o">-></span><span class="nb">next</span> <span class="n">iff</span> <span class="n">non</span><span class="o">-</span><span class="n">NULL</span><span class="o">></span> |
|
193 <span class="o">*</span> <span class="p">)</span> |
|
194 <span class="o">*</span> |
|
195 <span class="o">*</span> <span class="n">For</span> <span class="n">a</span> <span class="n">mapping</span> <span class="n">bucket</span> <span class="p">(</span><span class="bp">self</span><span class="o">-></span><span class="n">values</span> <span class="ow">is</span> <span class="ow">not</span> <span class="n">NULL</span><span class="p">),</span> <span class="n">a</span> <span class="n">one</span><span class="o">-</span><span class="nb">tuple</span> <span class="ow">or</span> <span class="n">two</span><span class="o">-</span><span class="nb">tuple</span><span class="o">.</span> |
|
196 <span class="o">*</span> <span class="n">The</span> <span class="n">first</span> <span class="n">element</span> <span class="ow">is</span> <span class="n">a</span> <span class="nb">tuple</span> <span class="n">interleaving</span> <span class="n">keys</span> <span class="ow">and</span> <span class="n">values</span><span class="p">,</span> <span class="n">of</span> <span class="n">length</span> |
|
197 <span class="o">*</span> <span class="mi">2</span> <span class="o">*</span> <span class="bp">self</span><span class="o">-></span><span class="nb">len</span><span class="o">.</span> <span class="n">The</span> <span class="n">second</span> <span class="n">element</span> <span class="ow">is</span> <span class="n">the</span> <span class="nb">next</span> <span class="n">bucket</span><span class="p">,</span> <span class="n">present</span> <span class="n">iff</span> <span class="nb">next</span> <span class="ow">is</span> |
|
198 <span class="o">*</span> <span class="n">non</span><span class="o">-</span><span class="n">NULL</span><span class="p">:</span> |
|
199 <span class="o">*</span> |
|
200 <span class="o">*</span> <span class="p">(</span> |
|
201 <span class="o">*</span> <span class="p">(</span><span class="n">keys</span><span class="p">[</span><span class="mi">0</span><span class="p">],</span> <span class="n">values</span><span class="p">[</span><span class="mi">0</span><span class="p">],</span> <span class="n">keys</span><span class="p">[</span><span class="mi">1</span><span class="p">],</span> <span class="n">values</span><span class="p">[</span><span class="mi">1</span><span class="p">],</span> <span class="o">...</span><span class="p">,</span> |
|
202 <span class="o">*</span> <span class="n">keys</span><span class="p">[</span><span class="nb">len</span><span class="o">-</span><span class="mi">1</span><span class="p">],</span> <span class="n">values</span><span class="p">[</span><span class="nb">len</span><span class="o">-</span><span class="mi">1</span><span class="p">]),</span> |
|
203 <span class="o">*</span> <span class="o"><</span><span class="bp">self</span><span class="o">-></span><span class="nb">next</span> <span class="n">iff</span> <span class="n">non</span><span class="o">-</span><span class="n">NULL</span><span class="o">></span> |
|
204 <span class="o">*</span> <span class="p">)</span> |
|
205 </pre></div> |
|
206 </div> |
|
207 <p>OOBucket is a mapping bucket; OOSet is a set bucket.</p> |
|
208 <dl class="method"> |
|
209 <dt id="pyams_zodbbrowser.btreesupport.OOBucketState.asDict"> |
|
210 <code class="descname">asDict</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.btreesupport.OOBucketState.asDict" title="Permalink to this definition">¶</a></dt> |
|
211 <dd></dd></dl> |
|
212 |
|
213 <dl class="method"> |
|
214 <dt id="pyams_zodbbrowser.btreesupport.OOBucketState.getError"> |
|
215 <code class="descname">getError</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.btreesupport.OOBucketState.getError" title="Permalink to this definition">¶</a></dt> |
|
216 <dd></dd></dl> |
|
217 |
|
218 <dl class="method"> |
|
219 <dt id="pyams_zodbbrowser.btreesupport.OOBucketState.getName"> |
|
220 <code class="descname">getName</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.btreesupport.OOBucketState.getName" title="Permalink to this definition">¶</a></dt> |
|
221 <dd></dd></dl> |
|
222 |
|
223 <dl class="method"> |
|
224 <dt id="pyams_zodbbrowser.btreesupport.OOBucketState.getParent"> |
|
225 <code class="descname">getParent</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.btreesupport.OOBucketState.getParent" title="Permalink to this definition">¶</a></dt> |
|
226 <dd></dd></dl> |
|
227 |
|
228 <dl class="method"> |
|
229 <dt id="pyams_zodbbrowser.btreesupport.OOBucketState.listAttributes"> |
|
230 <code class="descname">listAttributes</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.btreesupport.OOBucketState.listAttributes" title="Permalink to this definition">¶</a></dt> |
|
231 <dd></dd></dl> |
|
232 |
|
233 <dl class="method"> |
|
234 <dt id="pyams_zodbbrowser.btreesupport.OOBucketState.listItems"> |
|
235 <code class="descname">listItems</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.btreesupport.OOBucketState.listItems" title="Permalink to this definition">¶</a></dt> |
|
236 <dd></dd></dl> |
|
237 |
|
238 </dd></dl> |
|
239 |
|
240 </div> |
|
241 <div class="section" id="module-pyams_zodbbrowser.cache"> |
|
242 <span id="pyams-zodbbrowser-cache-module"></span><h2>pyams_zodbbrowser.cache module<a class="headerlink" href="#module-pyams_zodbbrowser.cache" title="Permalink to this headline">¶</a></h2> |
|
243 <dl class="function"> |
|
244 <dt id="pyams_zodbbrowser.cache.expired"> |
|
245 <code class="descclassname">pyams_zodbbrowser.cache.</code><code class="descname">expired</code><span class="sig-paren">(</span><em>cache_dict</em>, <em>cache_for</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.cache.expired" title="Permalink to this definition">¶</a></dt> |
|
246 <dd></dd></dl> |
|
247 |
|
248 <dl class="function"> |
|
249 <dt id="pyams_zodbbrowser.cache.getStorageTids"> |
|
250 <code class="descclassname">pyams_zodbbrowser.cache.</code><code class="descname">getStorageTids</code><span class="sig-paren">(</span><em>storage</em>, <em>cache_for=300</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.cache.getStorageTids" title="Permalink to this definition">¶</a></dt> |
|
251 <dd></dd></dl> |
|
252 |
|
253 </div> |
|
254 <div class="section" id="module-pyams_zodbbrowser.diff"> |
|
255 <span id="pyams-zodbbrowser-diff-module"></span><h2>pyams_zodbbrowser.diff module<a class="headerlink" href="#module-pyams_zodbbrowser.diff" title="Permalink to this headline">¶</a></h2> |
|
256 <dl class="function"> |
|
257 <dt id="pyams_zodbbrowser.diff.compareDicts"> |
|
258 <code class="descclassname">pyams_zodbbrowser.diff.</code><code class="descname">compareDicts</code><span class="sig-paren">(</span><em>new</em>, <em>old</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.diff.compareDicts" title="Permalink to this definition">¶</a></dt> |
|
259 <dd><p>Compare two state dictionaries, return dict.</p> |
|
260 </dd></dl> |
|
261 |
|
262 <dl class="function"> |
|
263 <dt id="pyams_zodbbrowser.diff.compareDictsHTML"> |
|
264 <code class="descclassname">pyams_zodbbrowser.diff.</code><code class="descname">compareDictsHTML</code><span class="sig-paren">(</span><em>new</em>, <em>old</em>, <em>tid=None</em>, <em>indent=''</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.diff.compareDictsHTML" title="Permalink to this definition">¶</a></dt> |
|
265 <dd><p>Compare two state dictionaries, return HTML.</p> |
|
266 </dd></dl> |
|
267 |
|
268 <dl class="function"> |
|
269 <dt id="pyams_zodbbrowser.diff.compareTuples"> |
|
270 <code class="descclassname">pyams_zodbbrowser.diff.</code><code class="descname">compareTuples</code><span class="sig-paren">(</span><em>new</em>, <em>old</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.diff.compareTuples" title="Permalink to this definition">¶</a></dt> |
|
271 <dd><p>Compare two tuples.</p> |
|
272 <p>Return (common_prefix, middle_of_old, middle_of_new, common_suffix)</p> |
|
273 </dd></dl> |
|
274 |
|
275 <dl class="function"> |
|
276 <dt id="pyams_zodbbrowser.diff.compareTuplesHTML"> |
|
277 <code class="descclassname">pyams_zodbbrowser.diff.</code><code class="descname">compareTuplesHTML</code><span class="sig-paren">(</span><em>new</em>, <em>old</em>, <em>tid=None</em>, <em>indent=''</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.diff.compareTuplesHTML" title="Permalink to this definition">¶</a></dt> |
|
278 <dd><p>Compare two tuples, return HTML.</p> |
|
279 </dd></dl> |
|
280 |
|
281 <dl class="function"> |
|
282 <dt id="pyams_zodbbrowser.diff.isascii"> |
|
283 <code class="descclassname">pyams_zodbbrowser.diff.</code><code class="descname">isascii</code><span class="sig-paren">(</span><em>s</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.diff.isascii" title="Permalink to this definition">¶</a></dt> |
|
284 <dd><p>See if the string can be safely converted to unicode.</p> |
|
285 </dd></dl> |
|
286 |
|
287 </div> |
|
288 <div class="section" id="module-pyams_zodbbrowser.history"> |
|
289 <span id="pyams-zodbbrowser-history-module"></span><h2>pyams_zodbbrowser.history module<a class="headerlink" href="#module-pyams_zodbbrowser.history" title="Permalink to this headline">¶</a></h2> |
|
290 <dl class="class"> |
|
291 <dt id="pyams_zodbbrowser.history.ZodbHistory"> |
|
292 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.history.</code><code class="descname">ZodbHistory</code><span class="sig-paren">(</span><em>connection</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.history.ZodbHistory" title="Permalink to this definition">¶</a></dt> |
|
293 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
294 <dl class="attribute"> |
|
295 <dt id="pyams_zodbbrowser.history.ZodbHistory.tids"> |
|
296 <code class="descname">tids</code><a class="headerlink" href="#pyams_zodbbrowser.history.ZodbHistory.tids" title="Permalink to this definition">¶</a></dt> |
|
297 <dd></dd></dl> |
|
298 |
|
299 </dd></dl> |
|
300 |
|
301 <dl class="class"> |
|
302 <dt id="pyams_zodbbrowser.history.ZodbObjectHistory"> |
|
303 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.history.</code><code class="descname">ZodbObjectHistory</code><span class="sig-paren">(</span><em>obj</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.history.ZodbObjectHistory" title="Permalink to this definition">¶</a></dt> |
|
304 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
305 <dl class="method"> |
|
306 <dt id="pyams_zodbbrowser.history.ZodbObjectHistory.lastChange"> |
|
307 <code class="descname">lastChange</code><span class="sig-paren">(</span><em>tid=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.history.ZodbObjectHistory.lastChange" title="Permalink to this definition">¶</a></dt> |
|
308 <dd></dd></dl> |
|
309 |
|
310 <dl class="method"> |
|
311 <dt id="pyams_zodbbrowser.history.ZodbObjectHistory.loadState"> |
|
312 <code class="descname">loadState</code><span class="sig-paren">(</span><em>tid=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.history.ZodbObjectHistory.loadState" title="Permalink to this definition">¶</a></dt> |
|
313 <dd></dd></dl> |
|
314 |
|
315 <dl class="method"> |
|
316 <dt id="pyams_zodbbrowser.history.ZodbObjectHistory.loadStatePickle"> |
|
317 <code class="descname">loadStatePickle</code><span class="sig-paren">(</span><em>tid=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.history.ZodbObjectHistory.loadStatePickle" title="Permalink to this definition">¶</a></dt> |
|
318 <dd></dd></dl> |
|
319 |
|
320 <dl class="method"> |
|
321 <dt id="pyams_zodbbrowser.history.ZodbObjectHistory.rollback"> |
|
322 <code class="descname">rollback</code><span class="sig-paren">(</span><em>tid</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.history.ZodbObjectHistory.rollback" title="Permalink to this definition">¶</a></dt> |
|
323 <dd></dd></dl> |
|
324 |
|
325 </dd></dl> |
|
326 |
|
327 </div> |
|
328 <div class="section" id="module-pyams_zodbbrowser.state"> |
|
329 <span id="pyams-zodbbrowser-state-module"></span><h2>pyams_zodbbrowser.state module<a class="headerlink" href="#module-pyams_zodbbrowser.state" title="Permalink to this headline">¶</a></h2> |
|
330 <dl class="class"> |
|
331 <dt id="pyams_zodbbrowser.state.ContainedProxyState"> |
|
332 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.state.</code><code class="descname">ContainedProxyState</code><span class="sig-paren">(</span><em>proxy</em>, <em>state</em>, <em>tid</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.ContainedProxyState" title="Permalink to this definition">¶</a></dt> |
|
333 <dd><p>Bases: <a class="reference internal" href="#pyams_zodbbrowser.state.GenericState" title="pyams_zodbbrowser.state.GenericState"><code class="xref py py-class docutils literal"><span class="pre">pyams_zodbbrowser.state.GenericState</span></code></a></p> |
|
334 <dl class="method"> |
|
335 <dt id="pyams_zodbbrowser.state.ContainedProxyState.asDict"> |
|
336 <code class="descname">asDict</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.ContainedProxyState.asDict" title="Permalink to this definition">¶</a></dt> |
|
337 <dd></dd></dl> |
|
338 |
|
339 <dl class="method"> |
|
340 <dt id="pyams_zodbbrowser.state.ContainedProxyState.getName"> |
|
341 <code class="descname">getName</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.ContainedProxyState.getName" title="Permalink to this definition">¶</a></dt> |
|
342 <dd></dd></dl> |
|
343 |
|
344 <dl class="method"> |
|
345 <dt id="pyams_zodbbrowser.state.ContainedProxyState.getParent"> |
|
346 <code class="descname">getParent</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.ContainedProxyState.getParent" title="Permalink to this definition">¶</a></dt> |
|
347 <dd></dd></dl> |
|
348 |
|
349 <dl class="method"> |
|
350 <dt id="pyams_zodbbrowser.state.ContainedProxyState.listAttributes"> |
|
351 <code class="descname">listAttributes</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.ContainedProxyState.listAttributes" title="Permalink to this definition">¶</a></dt> |
|
352 <dd></dd></dl> |
|
353 |
|
354 <dl class="method"> |
|
355 <dt id="pyams_zodbbrowser.state.ContainedProxyState.listItems"> |
|
356 <code class="descname">listItems</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.ContainedProxyState.listItems" title="Permalink to this definition">¶</a></dt> |
|
357 <dd></dd></dl> |
|
358 |
|
359 </dd></dl> |
|
360 |
|
361 <dl class="class"> |
|
362 <dt id="pyams_zodbbrowser.state.DecoyPersistentDict"> |
|
363 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.state.</code><code class="descname">DecoyPersistentDict</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.DecoyPersistentDict" title="Permalink to this definition">¶</a></dt> |
|
364 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">persistent.mapping.PersistentMapping</span></code></p> |
|
365 <p>Decoy to avoid ZCML errors while supporting both ZODB 3.8 and 3.9.</p> |
|
366 </dd></dl> |
|
367 |
|
368 <dl class="class"> |
|
369 <dt id="pyams_zodbbrowser.state.FallbackState"> |
|
370 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.state.</code><code class="descname">FallbackState</code><span class="sig-paren">(</span><em>type</em>, <em>state</em>, <em>tid</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.FallbackState" title="Permalink to this definition">¶</a></dt> |
|
371 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
372 <p>Fallback when we’ve got no idea how to interpret the state</p> |
|
373 <dl class="method"> |
|
374 <dt id="pyams_zodbbrowser.state.FallbackState.asDict"> |
|
375 <code class="descname">asDict</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.FallbackState.asDict" title="Permalink to this definition">¶</a></dt> |
|
376 <dd></dd></dl> |
|
377 |
|
378 <dl class="method"> |
|
379 <dt id="pyams_zodbbrowser.state.FallbackState.getError"> |
|
380 <code class="descname">getError</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.FallbackState.getError" title="Permalink to this definition">¶</a></dt> |
|
381 <dd></dd></dl> |
|
382 |
|
383 <dl class="method"> |
|
384 <dt id="pyams_zodbbrowser.state.FallbackState.getName"> |
|
385 <code class="descname">getName</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.FallbackState.getName" title="Permalink to this definition">¶</a></dt> |
|
386 <dd></dd></dl> |
|
387 |
|
388 <dl class="method"> |
|
389 <dt id="pyams_zodbbrowser.state.FallbackState.getParent"> |
|
390 <code class="descname">getParent</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.FallbackState.getParent" title="Permalink to this definition">¶</a></dt> |
|
391 <dd></dd></dl> |
|
392 |
|
393 <dl class="method"> |
|
394 <dt id="pyams_zodbbrowser.state.FallbackState.listAttributes"> |
|
395 <code class="descname">listAttributes</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.FallbackState.listAttributes" title="Permalink to this definition">¶</a></dt> |
|
396 <dd></dd></dl> |
|
397 |
|
398 <dl class="method"> |
|
399 <dt id="pyams_zodbbrowser.state.FallbackState.listItems"> |
|
400 <code class="descname">listItems</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.FallbackState.listItems" title="Permalink to this definition">¶</a></dt> |
|
401 <dd></dd></dl> |
|
402 |
|
403 </dd></dl> |
|
404 |
|
405 <dl class="class"> |
|
406 <dt id="pyams_zodbbrowser.state.GenericState"> |
|
407 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.state.</code><code class="descname">GenericState</code><span class="sig-paren">(</span><em>type</em>, <em>state</em>, <em>tid</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.GenericState" title="Permalink to this definition">¶</a></dt> |
|
408 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
409 <p>Most persistent objects represent their state as a dict.</p> |
|
410 <dl class="method"> |
|
411 <dt id="pyams_zodbbrowser.state.GenericState.asDict"> |
|
412 <code class="descname">asDict</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.GenericState.asDict" title="Permalink to this definition">¶</a></dt> |
|
413 <dd></dd></dl> |
|
414 |
|
415 <dl class="method"> |
|
416 <dt id="pyams_zodbbrowser.state.GenericState.getError"> |
|
417 <code class="descname">getError</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.GenericState.getError" title="Permalink to this definition">¶</a></dt> |
|
418 <dd></dd></dl> |
|
419 |
|
420 <dl class="method"> |
|
421 <dt id="pyams_zodbbrowser.state.GenericState.getName"> |
|
422 <code class="descname">getName</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.GenericState.getName" title="Permalink to this definition">¶</a></dt> |
|
423 <dd></dd></dl> |
|
424 |
|
425 <dl class="method"> |
|
426 <dt id="pyams_zodbbrowser.state.GenericState.getParent"> |
|
427 <code class="descname">getParent</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.GenericState.getParent" title="Permalink to this definition">¶</a></dt> |
|
428 <dd></dd></dl> |
|
429 |
|
430 <dl class="method"> |
|
431 <dt id="pyams_zodbbrowser.state.GenericState.listAttributes"> |
|
432 <code class="descname">listAttributes</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.GenericState.listAttributes" title="Permalink to this definition">¶</a></dt> |
|
433 <dd></dd></dl> |
|
434 |
|
435 <dl class="method"> |
|
436 <dt id="pyams_zodbbrowser.state.GenericState.listItems"> |
|
437 <code class="descname">listItems</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.GenericState.listItems" title="Permalink to this definition">¶</a></dt> |
|
438 <dd></dd></dl> |
|
439 |
|
440 </dd></dl> |
|
441 |
|
442 <dl class="class"> |
|
443 <dt id="pyams_zodbbrowser.state.LoadErrorState"> |
|
444 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.state.</code><code class="descname">LoadErrorState</code><span class="sig-paren">(</span><em>error</em>, <em>tid</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.LoadErrorState" title="Permalink to this definition">¶</a></dt> |
|
445 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
446 <p>Placeholder for when an object’s state could not be loaded</p> |
|
447 <dl class="method"> |
|
448 <dt id="pyams_zodbbrowser.state.LoadErrorState.asDict"> |
|
449 <code class="descname">asDict</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.LoadErrorState.asDict" title="Permalink to this definition">¶</a></dt> |
|
450 <dd></dd></dl> |
|
451 |
|
452 <dl class="method"> |
|
453 <dt id="pyams_zodbbrowser.state.LoadErrorState.getError"> |
|
454 <code class="descname">getError</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.LoadErrorState.getError" title="Permalink to this definition">¶</a></dt> |
|
455 <dd></dd></dl> |
|
456 |
|
457 <dl class="method"> |
|
458 <dt id="pyams_zodbbrowser.state.LoadErrorState.getName"> |
|
459 <code class="descname">getName</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.LoadErrorState.getName" title="Permalink to this definition">¶</a></dt> |
|
460 <dd></dd></dl> |
|
461 |
|
462 <dl class="method"> |
|
463 <dt id="pyams_zodbbrowser.state.LoadErrorState.getParent"> |
|
464 <code class="descname">getParent</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.LoadErrorState.getParent" title="Permalink to this definition">¶</a></dt> |
|
465 <dd></dd></dl> |
|
466 |
|
467 <dl class="method"> |
|
468 <dt id="pyams_zodbbrowser.state.LoadErrorState.listAttributes"> |
|
469 <code class="descname">listAttributes</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.LoadErrorState.listAttributes" title="Permalink to this definition">¶</a></dt> |
|
470 <dd></dd></dl> |
|
471 |
|
472 <dl class="method"> |
|
473 <dt id="pyams_zodbbrowser.state.LoadErrorState.listItems"> |
|
474 <code class="descname">listItems</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.LoadErrorState.listItems" title="Permalink to this definition">¶</a></dt> |
|
475 <dd></dd></dl> |
|
476 |
|
477 </dd></dl> |
|
478 |
|
479 <dl class="class"> |
|
480 <dt id="pyams_zodbbrowser.state.OrderedContainerState"> |
|
481 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.state.</code><code class="descname">OrderedContainerState</code><span class="sig-paren">(</span><em>type</em>, <em>state</em>, <em>tid</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.OrderedContainerState" title="Permalink to this definition">¶</a></dt> |
|
482 <dd><p>Bases: <a class="reference internal" href="#pyams_zodbbrowser.state.GenericState" title="pyams_zodbbrowser.state.GenericState"><code class="xref py py-class docutils literal"><span class="pre">pyams_zodbbrowser.state.GenericState</span></code></a></p> |
|
483 <p>Convenient access to an OrderedContainer’s items</p> |
|
484 <dl class="method"> |
|
485 <dt id="pyams_zodbbrowser.state.OrderedContainerState.listItems"> |
|
486 <code class="descname">listItems</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.OrderedContainerState.listItems" title="Permalink to this definition">¶</a></dt> |
|
487 <dd></dd></dl> |
|
488 |
|
489 </dd></dl> |
|
490 |
|
491 <dl class="class"> |
|
492 <dt id="pyams_zodbbrowser.state.PersistentDictState"> |
|
493 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.state.</code><code class="descname">PersistentDictState</code><span class="sig-paren">(</span><em>type</em>, <em>state</em>, <em>tid</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.PersistentDictState" title="Permalink to this definition">¶</a></dt> |
|
494 <dd><p>Bases: <a class="reference internal" href="#pyams_zodbbrowser.state.PersistentMappingState" title="pyams_zodbbrowser.state.PersistentMappingState"><code class="xref py py-class docutils literal"><span class="pre">pyams_zodbbrowser.state.PersistentMappingState</span></code></a></p> |
|
495 <p>Decoy to avoid ZCML errors while supporting both ZODB 3.8 and 3.9.</p> |
|
496 </dd></dl> |
|
497 |
|
498 <dl class="class"> |
|
499 <dt id="pyams_zodbbrowser.state.PersistentMappingState"> |
|
500 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.state.</code><code class="descname">PersistentMappingState</code><span class="sig-paren">(</span><em>type</em>, <em>state</em>, <em>tid</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.PersistentMappingState" title="Permalink to this definition">¶</a></dt> |
|
501 <dd><p>Bases: <a class="reference internal" href="#pyams_zodbbrowser.state.GenericState" title="pyams_zodbbrowser.state.GenericState"><code class="xref py py-class docutils literal"><span class="pre">pyams_zodbbrowser.state.GenericState</span></code></a></p> |
|
502 <p>Convenient access to a persistent mapping’s items.</p> |
|
503 <dl class="method"> |
|
504 <dt id="pyams_zodbbrowser.state.PersistentMappingState.listItems"> |
|
505 <code class="descname">listItems</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.PersistentMappingState.listItems" title="Permalink to this definition">¶</a></dt> |
|
506 <dd></dd></dl> |
|
507 |
|
508 </dd></dl> |
|
509 |
|
510 <dl class="function"> |
|
511 <dt id="pyams_zodbbrowser.state.Provides"> |
|
512 <code class="descclassname">pyams_zodbbrowser.state.</code><code class="descname">Provides</code><span class="sig-paren">(</span><em>cls</em>, <em>*interfaces</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.Provides" title="Permalink to this definition">¶</a></dt> |
|
513 <dd></dd></dl> |
|
514 |
|
515 <dl class="class"> |
|
516 <dt id="pyams_zodbbrowser.state.SampleContainerState"> |
|
517 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.state.</code><code class="descname">SampleContainerState</code><span class="sig-paren">(</span><em>type</em>, <em>state</em>, <em>tid</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.SampleContainerState" title="Permalink to this definition">¶</a></dt> |
|
518 <dd><p>Bases: <a class="reference internal" href="#pyams_zodbbrowser.state.GenericState" title="pyams_zodbbrowser.state.GenericState"><code class="xref py py-class docutils literal"><span class="pre">pyams_zodbbrowser.state.GenericState</span></code></a></p> |
|
519 <p>Convenient access to a SampleContainer’s items</p> |
|
520 <dl class="method"> |
|
521 <dt id="pyams_zodbbrowser.state.SampleContainerState.listItems"> |
|
522 <code class="descname">listItems</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.SampleContainerState.listItems" title="Permalink to this definition">¶</a></dt> |
|
523 <dd></dd></dl> |
|
524 |
|
525 </dd></dl> |
|
526 |
|
527 <dl class="class"> |
|
528 <dt id="pyams_zodbbrowser.state.ZodbObjectState"> |
|
529 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.state.</code><code class="descname">ZodbObjectState</code><span class="sig-paren">(</span><em>obj</em>, <em>tid=None</em>, <em>_history=None</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.ZodbObjectState" title="Permalink to this definition">¶</a></dt> |
|
530 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
531 <dl class="method"> |
|
532 <dt id="pyams_zodbbrowser.state.ZodbObjectState.asDict"> |
|
533 <code class="descname">asDict</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.ZodbObjectState.asDict" title="Permalink to this definition">¶</a></dt> |
|
534 <dd></dd></dl> |
|
535 |
|
536 <dl class="method"> |
|
537 <dt id="pyams_zodbbrowser.state.ZodbObjectState.getError"> |
|
538 <code class="descname">getError</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.ZodbObjectState.getError" title="Permalink to this definition">¶</a></dt> |
|
539 <dd></dd></dl> |
|
540 |
|
541 <dl class="method"> |
|
542 <dt id="pyams_zodbbrowser.state.ZodbObjectState.getName"> |
|
543 <code class="descname">getName</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.ZodbObjectState.getName" title="Permalink to this definition">¶</a></dt> |
|
544 <dd></dd></dl> |
|
545 |
|
546 <dl class="method"> |
|
547 <dt id="pyams_zodbbrowser.state.ZodbObjectState.getObjectId"> |
|
548 <code class="descname">getObjectId</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.ZodbObjectState.getObjectId" title="Permalink to this definition">¶</a></dt> |
|
549 <dd></dd></dl> |
|
550 |
|
551 <dl class="method"> |
|
552 <dt id="pyams_zodbbrowser.state.ZodbObjectState.getParent"> |
|
553 <code class="descname">getParent</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.ZodbObjectState.getParent" title="Permalink to this definition">¶</a></dt> |
|
554 <dd></dd></dl> |
|
555 |
|
556 <dl class="method"> |
|
557 <dt id="pyams_zodbbrowser.state.ZodbObjectState.getParentState"> |
|
558 <code class="descname">getParentState</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.ZodbObjectState.getParentState" title="Permalink to this definition">¶</a></dt> |
|
559 <dd></dd></dl> |
|
560 |
|
561 <dl class="method"> |
|
562 <dt id="pyams_zodbbrowser.state.ZodbObjectState.isRoot"> |
|
563 <code class="descname">isRoot</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.ZodbObjectState.isRoot" title="Permalink to this definition">¶</a></dt> |
|
564 <dd></dd></dl> |
|
565 |
|
566 <dl class="method"> |
|
567 <dt id="pyams_zodbbrowser.state.ZodbObjectState.listAttributes"> |
|
568 <code class="descname">listAttributes</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.ZodbObjectState.listAttributes" title="Permalink to this definition">¶</a></dt> |
|
569 <dd></dd></dl> |
|
570 |
|
571 <dl class="method"> |
|
572 <dt id="pyams_zodbbrowser.state.ZodbObjectState.listItems"> |
|
573 <code class="descname">listItems</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.ZodbObjectState.listItems" title="Permalink to this definition">¶</a></dt> |
|
574 <dd></dd></dl> |
|
575 |
|
576 </dd></dl> |
|
577 |
|
578 <dl class="function"> |
|
579 <dt id="pyams_zodbbrowser.state.flatten_interfaces"> |
|
580 <code class="descclassname">pyams_zodbbrowser.state.</code><code class="descname">flatten_interfaces</code><span class="sig-paren">(</span><em>args</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.flatten_interfaces" title="Permalink to this definition">¶</a></dt> |
|
581 <dd></dd></dl> |
|
582 |
|
583 <dl class="function"> |
|
584 <dt id="pyams_zodbbrowser.state.install_provides_hack"> |
|
585 <code class="descclassname">pyams_zodbbrowser.state.</code><code class="descname">install_provides_hack</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.state.install_provides_hack" title="Permalink to this definition">¶</a></dt> |
|
586 <dd><p>Monkey-patch zope.interface.Provides with a more lenient version.</p> |
|
587 <p>A common result of missing modules in sys.path is that you cannot |
|
588 unpickle objects that have been marked with directlyProvides() to |
|
589 implement interfaces that aren’t currently available. Those interfaces |
|
590 are replaced by persistent broken placeholders, which aren classes, |
|
591 not interfaces, and aren’t iterable, causing TypeErrors during unpickling.</p> |
|
592 </dd></dl> |
|
593 |
|
594 </div> |
|
595 <div class="section" id="module-pyams_zodbbrowser.value"> |
|
596 <span id="pyams-zodbbrowser-value-module"></span><h2>pyams_zodbbrowser.value module<a class="headerlink" href="#module-pyams_zodbbrowser.value" title="Permalink to this headline">¶</a></h2> |
|
597 <dl class="class"> |
|
598 <dt id="pyams_zodbbrowser.value.DecoyPersistentDict"> |
|
599 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.value.</code><code class="descname">DecoyPersistentDict</code><span class="sig-paren">(</span><em>*args</em>, <em>**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.value.DecoyPersistentDict" title="Permalink to this definition">¶</a></dt> |
|
600 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">persistent.mapping.PersistentMapping</span></code></p> |
|
601 <p>Decoy to avoid ZCML errors while supporting both ZODB 3.8 and 3.9.</p> |
|
602 </dd></dl> |
|
603 |
|
604 <dl class="class"> |
|
605 <dt id="pyams_zodbbrowser.value.DictValue"> |
|
606 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.value.</code><code class="descname">DictValue</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.value.DictValue" title="Permalink to this definition">¶</a></dt> |
|
607 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
608 <p>Dict renderer.</p> |
|
609 <dl class="method"> |
|
610 <dt id="pyams_zodbbrowser.value.DictValue.render"> |
|
611 <code class="descname">render</code><span class="sig-paren">(</span><em>tid=None</em>, <em>can_link=True</em>, <em>threshold=100</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.value.DictValue.render" title="Permalink to this definition">¶</a></dt> |
|
612 <dd></dd></dl> |
|
613 |
|
614 </dd></dl> |
|
615 |
|
616 <dl class="class"> |
|
617 <dt id="pyams_zodbbrowser.value.GenericValue"> |
|
618 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.value.</code><code class="descname">GenericValue</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.value.GenericValue" title="Permalink to this definition">¶</a></dt> |
|
619 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
620 <p>Default value renderer.</p> |
|
621 <p>Uses the object’s __repr__, truncating if too long.</p> |
|
622 <dl class="method"> |
|
623 <dt id="pyams_zodbbrowser.value.GenericValue.render"> |
|
624 <code class="descname">render</code><span class="sig-paren">(</span><em>tid=None</em>, <em>can_link=True</em>, <em>limit=200</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.value.GenericValue.render" title="Permalink to this definition">¶</a></dt> |
|
625 <dd></dd></dl> |
|
626 |
|
627 </dd></dl> |
|
628 |
|
629 <dl class="class"> |
|
630 <dt id="pyams_zodbbrowser.value.ListValue"> |
|
631 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.value.</code><code class="descname">ListValue</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.value.ListValue" title="Permalink to this definition">¶</a></dt> |
|
632 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
633 <p>List renderer.</p> |
|
634 <dl class="method"> |
|
635 <dt id="pyams_zodbbrowser.value.ListValue.render"> |
|
636 <code class="descname">render</code><span class="sig-paren">(</span><em>tid=None</em>, <em>can_link=True</em>, <em>threshold=100</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.value.ListValue.render" title="Permalink to this definition">¶</a></dt> |
|
637 <dd></dd></dl> |
|
638 |
|
639 </dd></dl> |
|
640 |
|
641 <dl class="class"> |
|
642 <dt id="pyams_zodbbrowser.value.PersistentDictValue"> |
|
643 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.value.</code><code class="descname">PersistentDictValue</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.value.PersistentDictValue" title="Permalink to this definition">¶</a></dt> |
|
644 <dd><p>Bases: <a class="reference internal" href="#pyams_zodbbrowser.value.PersistentValue" title="pyams_zodbbrowser.value.PersistentValue"><code class="xref py py-class docutils literal"><span class="pre">pyams_zodbbrowser.value.PersistentValue</span></code></a></p> |
|
645 <p>Decoy to avoid ZCML errors while supporting both ZODB 3.8 and 3.9.</p> |
|
646 <dl class="attribute"> |
|
647 <dt id="pyams_zodbbrowser.value.PersistentDictValue.delegate_to"> |
|
648 <code class="descname">delegate_to</code><a class="headerlink" href="#pyams_zodbbrowser.value.PersistentDictValue.delegate_to" title="Permalink to this definition">¶</a></dt> |
|
649 <dd><p>alias of <a class="reference internal" href="#pyams_zodbbrowser.value.DictValue" title="pyams_zodbbrowser.value.DictValue"><code class="xref py py-class docutils literal"><span class="pre">DictValue</span></code></a></p> |
|
650 </dd></dl> |
|
651 |
|
652 </dd></dl> |
|
653 |
|
654 <dl class="class"> |
|
655 <dt id="pyams_zodbbrowser.value.PersistentListValue"> |
|
656 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.value.</code><code class="descname">PersistentListValue</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.value.PersistentListValue" title="Permalink to this definition">¶</a></dt> |
|
657 <dd><p>Bases: <a class="reference internal" href="#pyams_zodbbrowser.value.PersistentValue" title="pyams_zodbbrowser.value.PersistentValue"><code class="xref py py-class docutils literal"><span class="pre">pyams_zodbbrowser.value.PersistentValue</span></code></a></p> |
|
658 <dl class="attribute"> |
|
659 <dt id="pyams_zodbbrowser.value.PersistentListValue.delegate_to"> |
|
660 <code class="descname">delegate_to</code><a class="headerlink" href="#pyams_zodbbrowser.value.PersistentListValue.delegate_to" title="Permalink to this definition">¶</a></dt> |
|
661 <dd><p>alias of <a class="reference internal" href="#pyams_zodbbrowser.value.ListValue" title="pyams_zodbbrowser.value.ListValue"><code class="xref py py-class docutils literal"><span class="pre">ListValue</span></code></a></p> |
|
662 </dd></dl> |
|
663 |
|
664 </dd></dl> |
|
665 |
|
666 <dl class="class"> |
|
667 <dt id="pyams_zodbbrowser.value.PersistentMappingValue"> |
|
668 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.value.</code><code class="descname">PersistentMappingValue</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.value.PersistentMappingValue" title="Permalink to this definition">¶</a></dt> |
|
669 <dd><p>Bases: <a class="reference internal" href="#pyams_zodbbrowser.value.PersistentValue" title="pyams_zodbbrowser.value.PersistentValue"><code class="xref py py-class docutils literal"><span class="pre">pyams_zodbbrowser.value.PersistentValue</span></code></a></p> |
|
670 <dl class="attribute"> |
|
671 <dt id="pyams_zodbbrowser.value.PersistentMappingValue.delegate_to"> |
|
672 <code class="descname">delegate_to</code><a class="headerlink" href="#pyams_zodbbrowser.value.PersistentMappingValue.delegate_to" title="Permalink to this definition">¶</a></dt> |
|
673 <dd><p>alias of <a class="reference internal" href="#pyams_zodbbrowser.value.DictValue" title="pyams_zodbbrowser.value.DictValue"><code class="xref py py-class docutils literal"><span class="pre">DictValue</span></code></a></p> |
|
674 </dd></dl> |
|
675 |
|
676 </dd></dl> |
|
677 |
|
678 <dl class="class"> |
|
679 <dt id="pyams_zodbbrowser.value.PersistentValue"> |
|
680 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.value.</code><code class="descname">PersistentValue</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.value.PersistentValue" title="Permalink to this definition">¶</a></dt> |
|
681 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
682 <p>Persistent object renderer.</p> |
|
683 <p>Uses __repr__ and makes it a hyperlink to the actual object.</p> |
|
684 <dl class="attribute"> |
|
685 <dt id="pyams_zodbbrowser.value.PersistentValue.delegate_to"> |
|
686 <code class="descname">delegate_to</code><a class="headerlink" href="#pyams_zodbbrowser.value.PersistentValue.delegate_to" title="Permalink to this definition">¶</a></dt> |
|
687 <dd><p>alias of <a class="reference internal" href="#pyams_zodbbrowser.value.GenericValue" title="pyams_zodbbrowser.value.GenericValue"><code class="xref py py-class docutils literal"><span class="pre">GenericValue</span></code></a></p> |
|
688 </dd></dl> |
|
689 |
|
690 <dl class="method"> |
|
691 <dt id="pyams_zodbbrowser.value.PersistentValue.render"> |
|
692 <code class="descname">render</code><span class="sig-paren">(</span><em>tid=None</em>, <em>can_link=True</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.value.PersistentValue.render" title="Permalink to this definition">¶</a></dt> |
|
693 <dd></dd></dl> |
|
694 |
|
695 <dl class="attribute"> |
|
696 <dt id="pyams_zodbbrowser.value.PersistentValue.view_name"> |
|
697 <code class="descname">view_name</code><em class="property"> = '#zodbbrowser'</em><a class="headerlink" href="#pyams_zodbbrowser.value.PersistentValue.view_name" title="Permalink to this definition">¶</a></dt> |
|
698 <dd></dd></dl> |
|
699 |
|
700 </dd></dl> |
|
701 |
|
702 <dl class="class"> |
|
703 <dt id="pyams_zodbbrowser.value.ProvidesValue"> |
|
704 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.value.</code><code class="descname">ProvidesValue</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.value.ProvidesValue" title="Permalink to this definition">¶</a></dt> |
|
705 <dd><p>Bases: <a class="reference internal" href="#pyams_zodbbrowser.value.GenericValue" title="pyams_zodbbrowser.value.GenericValue"><code class="xref py py-class docutils literal"><span class="pre">pyams_zodbbrowser.value.GenericValue</span></code></a></p> |
|
706 <p>zope.interface.Provides object renderer.</p> |
|
707 <p>The __repr__ of zope.interface.Provides is decidedly unhelpful.</p> |
|
708 </dd></dl> |
|
709 |
|
710 <dl class="class"> |
|
711 <dt id="pyams_zodbbrowser.value.StringValue"> |
|
712 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.value.</code><code class="descname">StringValue</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.value.StringValue" title="Permalink to this definition">¶</a></dt> |
|
713 <dd><p>Bases: <a class="reference internal" href="#pyams_zodbbrowser.value.GenericValue" title="pyams_zodbbrowser.value.GenericValue"><code class="xref py py-class docutils literal"><span class="pre">pyams_zodbbrowser.value.GenericValue</span></code></a></p> |
|
714 <p>String renderer.</p> |
|
715 <dl class="method"> |
|
716 <dt id="pyams_zodbbrowser.value.StringValue.render"> |
|
717 <code class="descname">render</code><span class="sig-paren">(</span><em>tid=None</em>, <em>can_link=True</em>, <em>limit=200</em>, <em>threshold=4</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.value.StringValue.render" title="Permalink to this definition">¶</a></dt> |
|
718 <dd></dd></dl> |
|
719 |
|
720 </dd></dl> |
|
721 |
|
722 <dl class="class"> |
|
723 <dt id="pyams_zodbbrowser.value.TupleValue"> |
|
724 <em class="property">class </em><code class="descclassname">pyams_zodbbrowser.value.</code><code class="descname">TupleValue</code><span class="sig-paren">(</span><em>context</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.value.TupleValue" title="Permalink to this definition">¶</a></dt> |
|
725 <dd><p>Bases: <code class="xref py py-class docutils literal"><span class="pre">object</span></code></p> |
|
726 <p>Tuple renderer.</p> |
|
727 <dl class="method"> |
|
728 <dt id="pyams_zodbbrowser.value.TupleValue.render"> |
|
729 <code class="descname">render</code><span class="sig-paren">(</span><em>tid=None</em>, <em>can_link=True</em>, <em>threshold=100</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.value.TupleValue.render" title="Permalink to this definition">¶</a></dt> |
|
730 <dd></dd></dl> |
|
731 |
|
732 </dd></dl> |
|
733 |
|
734 <dl class="function"> |
|
735 <dt id="pyams_zodbbrowser.value.join_with_commas"> |
|
736 <code class="descclassname">pyams_zodbbrowser.value.</code><code class="descname">join_with_commas</code><span class="sig-paren">(</span><em>html</em>, <em>open</em>, <em>close</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.value.join_with_commas" title="Permalink to this definition">¶</a></dt> |
|
737 <dd><p>Helper to join multiple html snippets into a struct.</p> |
|
738 </dd></dl> |
|
739 |
|
740 <dl class="function"> |
|
741 <dt id="pyams_zodbbrowser.value.pruneTruncations"> |
|
742 <code class="descclassname">pyams_zodbbrowser.value.</code><code class="descname">pruneTruncations</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.value.pruneTruncations" title="Permalink to this definition">¶</a></dt> |
|
743 <dd></dd></dl> |
|
744 |
|
745 <dl class="function"> |
|
746 <dt id="pyams_zodbbrowser.value.resetTruncations"> |
|
747 <code class="descclassname">pyams_zodbbrowser.value.</code><code class="descname">resetTruncations</code><span class="sig-paren">(</span><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.value.resetTruncations" title="Permalink to this definition">¶</a></dt> |
|
748 <dd></dd></dl> |
|
749 |
|
750 <dl class="function"> |
|
751 <dt id="pyams_zodbbrowser.value.truncate"> |
|
752 <code class="descclassname">pyams_zodbbrowser.value.</code><code class="descname">truncate</code><span class="sig-paren">(</span><em>text</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.value.truncate" title="Permalink to this definition">¶</a></dt> |
|
753 <dd></dd></dl> |
|
754 |
|
755 </div> |
|
756 <div class="section" id="module-pyams_zodbbrowser"> |
|
757 <span id="module-contents"></span><h2>Module contents<a class="headerlink" href="#module-pyams_zodbbrowser" title="Permalink to this headline">¶</a></h2> |
|
758 <dl class="function"> |
|
759 <dt id="pyams_zodbbrowser.includeme"> |
|
760 <code class="descclassname">pyams_zodbbrowser.</code><code class="descname">includeme</code><span class="sig-paren">(</span><em>config</em><span class="sig-paren">)</span><a class="headerlink" href="#pyams_zodbbrowser.includeme" title="Permalink to this definition">¶</a></dt> |
|
761 <dd><p>Pyramid include</p> |
|
762 </dd></dl> |
|
763 |
|
764 </div> |
|
765 </div> |
|
766 |
|
767 |
|
768 </div> |
|
769 </div> |
|
770 </div> |
|
771 <div class="sphinxsidebar" role="navigation" aria-label="main navigation"> |
|
772 <div class="sphinxsidebarwrapper"> |
|
773 <h3><a href="index.html">Table Of Contents</a></h3> |
|
774 <ul> |
|
775 <li><a class="reference internal" href="#">pyams_zodbbrowser package</a><ul> |
|
776 <li><a class="reference internal" href="#subpackages">Subpackages</a></li> |
|
777 <li><a class="reference internal" href="#submodules">Submodules</a></li> |
|
778 <li><a class="reference internal" href="#module-pyams_zodbbrowser.btreesupport">pyams_zodbbrowser.btreesupport module</a></li> |
|
779 <li><a class="reference internal" href="#module-pyams_zodbbrowser.cache">pyams_zodbbrowser.cache module</a></li> |
|
780 <li><a class="reference internal" href="#module-pyams_zodbbrowser.diff">pyams_zodbbrowser.diff module</a></li> |
|
781 <li><a class="reference internal" href="#module-pyams_zodbbrowser.history">pyams_zodbbrowser.history module</a></li> |
|
782 <li><a class="reference internal" href="#module-pyams_zodbbrowser.state">pyams_zodbbrowser.state module</a></li> |
|
783 <li><a class="reference internal" href="#module-pyams_zodbbrowser.value">pyams_zodbbrowser.value module</a></li> |
|
784 <li><a class="reference internal" href="#module-pyams_zodbbrowser">Module contents</a></li> |
|
785 </ul> |
|
786 </li> |
|
787 </ul> |
|
788 |
|
789 <div id="searchbox" style="display: none" role="search"> |
|
790 <h3>Quick search</h3> |
|
791 <form class="search" action="search.html" method="get"> |
|
792 <div><input type="text" name="q" /></div> |
|
793 <div><input type="submit" value="Go" /></div> |
|
794 <input type="hidden" name="check_keywords" value="yes" /> |
|
795 <input type="hidden" name="area" value="default" /> |
|
796 </form> |
|
797 </div> |
|
798 <script type="text/javascript">$('#searchbox').show(0);</script> |
|
799 </div> |
|
800 </div> |
|
801 <div class="clearer"></div> |
|
802 </div> |
|
803 <div class="related" role="navigation" aria-label="related navigation"> |
|
804 <h3>Navigation</h3> |
|
805 <ul> |
|
806 <li class="right" style="margin-right: 10px"> |
|
807 <a href="genindex.html" title="General Index" |
|
808 >index</a></li> |
|
809 <li class="right" > |
|
810 <a href="py-modindex.html" title="Python Module Index" |
|
811 >modules</a> |</li> |
|
812 <li class="nav-item nav-item-0"><a href="index.html">PyAMS User Guide 0.1.0 documentation</a> »</li> |
|
813 </ul> |
|
814 </div> |
|
815 <div class="footer" role="contentinfo"> |
|
816 © Copyright 2017, Thierry Florac. |
|
817 Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.6.5. |
|
818 </div> |
|
819 </body> |
|
820 </html> |
|