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
Kirill Smelkov
ZODB
Commits
1273166b
Commit
1273166b
authored
Nov 17, 2016
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean-ups
parent
54740503
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
src/ZODB/interfaces.py
src/ZODB/interfaces.py
+5
-9
No files found.
src/ZODB/interfaces.py
View file @
1273166b
...
...
@@ -541,8 +541,8 @@ class IStorageTransactionMetaData(Interface):
Note that unlike transaction.interfaces.ITransaction, the ``user``
and ``description`` attributes are bytes, not text.
"""
user
=
Attribute
(
"
T
ransaction user"
)
description
=
Attribute
(
"
T
ransaction Description"
)
user
=
Attribute
(
"
Bytes t
ransaction user"
)
description
=
Attribute
(
"
Bytes t
ransaction Description"
)
extension
=
Attribute
(
"A dictionary carrying a transaction's extended_info data"
)
...
...
@@ -558,7 +558,7 @@ class IStorage(Interface):
implement multi-version concurrency control.
There are methods in IStorage and in derived interfaces that
provide information
b
about the current revisions (tids) for objects
provide information about the current revisions (tids) for objects
or for the database as a whole. It is critical for the proper
working of ZODB that the resulting tids are increasing with
respect to the object identifier given or to the databases. That
...
...
@@ -799,7 +799,7 @@ class IStorage(Interface):
def
tpc_begin
(
transaction
):
"""Begin the two-phase commit process.
The argument provides IStorageTransactionMetaData
ExtensionBytes
.
The argument provides IStorageTransactionMetaData.
If storage is already participating in a two-phase commit
using the same transaction, a StorageTransactionError is raised.
...
...
@@ -910,7 +910,7 @@ class IStorageRestoreable(IStorage):
using a different transaction, the call blocks until the
current transaction ends (commits or aborts).
The first argument provides IStorageTransactionMetaData
ExtensionBytes
.
The first argument provides IStorageTransactionMetaData.
If a transaction id is given, then the transaction will use
the given id rather than generating a new id. This is used
...
...
@@ -979,10 +979,6 @@ class IStorageTransactionInformation(IStorageTransactionMetaData):
"""
tid
=
Attribute
(
"Transaction id"
)
user
=
Attribute
(
"Transaction user"
)
description
=
Attribute
(
"Transaction Description"
)
extension
=
Attribute
(
"A dictionary carrying the transaction's extension data"
)
def
__iter__
():
"""Iterate over the transaction's records given as
...
...
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