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
51ebc569
Commit
51ebc569
authored
Nov 13, 2002
by
Toby Dickenson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added empty implementation of getExtensionMethods to storage base class
parent
ab820183
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
src/ZODB/BaseStorage.py
src/ZODB/BaseStorage.py
+13
-1
No files found.
src/ZODB/BaseStorage.py
View file @
51ebc569
...
...
@@ -15,7 +15,7 @@
"""
# Do this portably in the face of checking out with -kv
import
string
__version__
=
string
.
split
(
'$Revision: 1.2
5
$'
)[
-
2
:][
0
]
__version__
=
string
.
split
(
'$Revision: 1.2
6
$'
)[
-
2
:][
0
]
import
cPickle
import
ThreadLock
,
bpthread
...
...
@@ -231,6 +231,18 @@ class BaseStorage(UndoLogCompatible.UndoLogCompatible):
raise
POSException
.
Unsupported
,
(
"Retrieval of historical revisions is not supported"
)
def
getExtensionMethods
(
self
):
"""getExtensionMethods
This returns a dictionary whose keys are names of extra methods
provided by this storage. Storage proxies (such as ZEO) should
call this method to determine the extra methods that they need
to proxy in addition to the standard storage methods.
Dictionary values should be None; this will be a handy place
for extra marshalling information, should we need it
"""
return
{}
def
copyTransactionsFrom
(
self
,
other
,
verbose
=
0
):
"""Copy transactions from another storage.
...
...
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