EBackend.CacheOfflineChange¶
Fields¶
| Name | Type | Access | Description | 
|---|---|---|---|
| object | str | r/w | the object itself | 
| revision | str | r/w | stored revision of the object | 
| state | EBackend.OfflineState | r/w | an EBackend.OfflineStateof the object | 
| uid | str | r/w | UID of the object | 
Details¶
- 
class EBackend.CacheOfflineChange¶
- Holds the information about offline change for one object. - New in version 3.26. - 
classmethod free(change)¶
- Parameters: - change ( - objector- None) – an- EBackend.CacheOfflineChange- Frees the change structure, previously allocated with - EBackend.CacheOfflineChange.new() or- EBackend.CacheOfflineChange.copy().- New in version 3.26. 
 - 
classmethod new(uid, revision, object, state)¶
- Parameters: - uid (str) – a unique object identifier
- revision (strorNone) – a revision of the object
- object (strorNone) – object itself
- state (EBackend.OfflineState) – anEBackend.OfflineState
 - Returns: - A new - EBackend.CacheOfflineChange. Free it with- EBackend.CacheOfflineChange.free() when no longer needed.- Return type: - Creates a new - EBackend.CacheOfflineChangewith the offline state information for the given uid.- New in version 3.26. 
- uid (
 - 
copy()¶
- Returns: - Copy of the given self. Free it with - EBackend.CacheOfflineChange.free() when no longer needed. If the self is- None, then returns- Noneas well.- Return type: - EBackend.CacheOfflineChange- New in version 3.26. 
 
- 
classmethod