Anvil | Smiths Smiths | Register Register | Login Login |
Search:
Show links Show tools Show tree | Previous document Next document | njet.org > Anvil > Documentation > Configuration > Providers > PersistentFileNamespace

anvil.server.file.PersistentFileNamespace

PersistentFileNamespace is persistent namespace serialized to file.

property default description
file (required) Indicates the file containing the serialized namespace. It is created if it doesn't exist.
copyonget false Controls if the variables should be (deep) copied when fetched.
copyonset false Controls if the value being assigned should be (deep) copied when stored.
maxmodifications 1 Controls the maximum number of modification allowed before the namespace is automatically stored to disk. If this number is greater than one, then the save operation is also accomplished using anvil.runtime.Namespace.commit().
See also  | Providers
What's new | Anvil