OneGov Docs
The Design of OneGov Cloud
OneGov Org - OneGov Cloud’s Flagship Application
Feriennet - A Complicated Org
Write Forms with Formcode Syntax
OneGov Agency API
OneGov Election Day API
OneGov Cloud Modules
API Reference
fsi
pas
pay
api
gis
org
pdf
core
Submodules
core.browser_session
core.cache
core.cli
core.collection
core.converters
core.cronjobs
core.crypto
core.csv
core.custom
core.datamanager
core.directives
core.elements
core.errors
core.filestorage
core.filters
core.framework
core.html
core.html_diff
core.i18n
core.layout
core.mail
core.mail_processor
core.markdown
core.metadata
core.orm
core.redirect
core.request
core.security
core.sentry
core.sms_processor
core.static
core.templates
core.theme
core.types
core.upgrade
core.upgrades
core.utils
core.widgets
Attributes
Package Contents
file
page
user
form
chat
gever
quill
town6
event
qrcode
agency
shared
ticket
server
people
notice
search
gazette
activity
intranet
feriennet
directory
recipient
websockets
async_http
foundation
swissvotes
onboarding
winterthur
newsletter
reservation
foundation6
stepsequence
election_day
landsgemeinde
translator_directory
OneGov Docs
API Reference
core
core.datamanager
View page source
core.datamanager
Classes
FileDataManager
Writes a file when the transaction is commited.
Module Contents
class
core.datamanager.
FileDataManager
(
data
:
bytes
,
path
:
str
,
tmp_path
:
str
|
None
=
None
)
[source]
Writes a file when the transaction is commited.
transaction_manager
[source]
data
[source]
path
[source]
tmp_path
=
None
[source]
classmethod
write_file
(
data
:
bytes
,
path
:
str
,
tmp_path
:
str
|
None
=
None
)
→
None
[source]
sortKey
(
)
→
str
[source]
commit
(
transaction
:
transaction.interfaces.ITransaction
)
→
None
[source]
abort
(
transaction
:
transaction.interfaces.ITransaction
)
→
None
[source]
tpc_vote
(
transaction
:
transaction.interfaces.ITransaction
)
→
None
[source]
tpc_abort
(
transaction
:
transaction.interfaces.ITransaction
)
→
None
[source]
tpc_begin
(
transaction
:
transaction.interfaces.ITransaction
)
→
None
[source]
tpc_finish
(
transaction
:
transaction.interfaces.ITransaction
)
→
None
[source]