Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
d6f2fe73
Commit
d6f2fe73
authored
Oct 16, 2001
by
Chris McDonough
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dding.
parent
7fa754c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
lib/python/Products/Transience/Transience.py
lib/python/Products/Transience/Transience.py
+23
-0
No files found.
lib/python/Products/Transience/Transience.py
0 → 100644
View file @
d6f2fe73
from
TransienceInterfaces
import
Transient
,
DictionaryLike
,
ItemWithId
,
\
TTWDictionary
,
ImmutablyValuedMappingOfPickleableObjects
,
\
StringKeyedHomogeneousItemContainer
,
TransientItemContainer
from
OFS.Item
import
SimpleItem
from
Persistent
import
Persistence
from
Acquisition
import
Implicit
class
TransientObjectContainer
(
SimpleItem
):
""" akin to Session Data Container """
__implements__
=
(
ItemWithId
,
StringKeyedHomogeneousItemContainer
,
TransientItemContainer
)
class
TransientObject
(
Persistent
,
Implicit
):
""" akin to Session Data Object """
__implements__
=
(
ItemWithId
,
# randomly generate an id
Transient
,
DictionaryLike
,
TTWDictionary
,
ImmutablyValuedMappingOfPickleableObjects
)
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