Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
ZODB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
ZODB
Commits
28bd47b2
Commit
28bd47b2
authored
May 11, 2007
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added more detail on return values.
Fixed a typo.
parent
9037f447
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
src/ZODB/interfaces.py
src/ZODB/interfaces.py
+13
-1
No files found.
src/ZODB/interfaces.py
View file @
28bd47b2
...
@@ -614,6 +614,12 @@ class IStorage(Interface):
...
@@ -614,6 +614,12 @@ class IStorage(Interface):
- An iterable of object-id and serial pairs giving new serials
- An iterable of object-id and serial pairs giving new serials
for objects.
for objects.
A serial, returned as a string or in a sequence of oid/serial
pairs, may be the special value
ZODB.ConflictResolution.ResolvedSerial to indicate that a
conflict occured and that the object should be invalidated.
"""
"""
def
tpc_abort
(
transaction
):
def
tpc_abort
(
transaction
):
...
@@ -663,8 +669,14 @@ class IStorage(Interface):
...
@@ -663,8 +669,14 @@ class IStorage(Interface):
The return value can be either None or a sequence of object-id
The return value can be either None or a sequence of object-id
and serial pairs giving new serials for objects who's ids were
and serial pairs giving new serials for objects who's ids were
passed to previous store calls in the same transaction.
passed to previous store calls in the same transaction.
After the tpc_vote call,
b
ew serials must have been returned,
After the tpc_vote call,
n
ew serials must have been returned,
either from tpc_vote or store for objects passed to store.
either from tpc_vote or store for objects passed to store.
A serial returned in a sequence of oid/serial pairs, may be
the special value ZODB.ConflictResolution.ResolvedSerial to
indicate that a conflict occured and that the object should be
invalidated.
"""
"""
class
IStorageRestoreable
(
IStorage
):
class
IStorageRestoreable
(
IStorage
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment