django
django_spire.contrib.sync.django
__all__ = ['DjangoSyncLock', 'DjangoSyncStorage', 'HttpTransport', 'SyncClient', 'SyncServer', 'SyncableMixin', 'SyncableModelService', 'SyncableQuerySet', 'build_graph', 'process_sync_request', 'register_many_to_many_signals', 'seed_clock', 'sync_bypass']
module-attribute
HttpTransport
Bases: Transport
Source code in django_spire/contrib/sync/database/transport/http.py
exchange
Source code in django_spire/contrib/sync/database/transport/http.py
SyncClient
Source code in django_spire/contrib/sync/django/client.py
DjangoSyncLock
Source code in django_spire/contrib/sync/django/lock.py
acquire
Source code in django_spire/contrib/sync/django/lock.py
hold
hold_global
release
Source code in django_spire/contrib/sync/django/lock.py
update_phase
prune_old_sessions
Source code in django_spire/contrib/sync/django/lock.py
SyncableMixin
Bases: SyncableFieldsMixin
Source code in django_spire/contrib/sync/django/mixin.py
id = models.UUIDField(primary_key=True, default=(uuid.uuid4), editable=False)
class-attribute
instance-attribute
Meta
abstract = True
class-attribute
instance-attribute
SyncableQuerySet
Bases: QuerySet
bulk_create
Source code in django_spire/contrib/sync/django/queryset.py
bulk_update
Source code in django_spire/contrib/sync/django/queryset.py
delete
Source code in django_spire/contrib/sync/django/queryset.py
update
Source code in django_spire/contrib/sync/django/queryset.py
SyncServer
Source code in django_spire/contrib/sync/django/server.py
handle
serve
Source code in django_spire/contrib/sync/django/server.py
SyncableModelService
set_many_to_many
staticmethod
Source code in django_spire/contrib/sync/django/service.py
DjangoSyncStorage
Source code in django_spire/contrib/sync/django/storage/facade.py
clear_tombstones
delete_many
flush_deferred_backfill
get_after_keys
get_changed_since
Source code in django_spire/contrib/sync/django/storage/facade.py
get_deletes_since
Source code in django_spire/contrib/sync/django/storage/facade.py
get_checkpoint
get_records
get_sequence_allocator
get_syncable_models
get_tombstones
save_checkpoint
Source code in django_spire/contrib/sync/django/storage/facade.py
stamp_unstamped_records
Source code in django_spire/contrib/sync/django/storage/facade.py
upsert_many
build_graph
Source code in django_spire/contrib/sync/django/graph.py
sync_bypass
seed_clock
Source code in django_spire/contrib/sync/django/seed.py
register_many_to_many_signals
Source code in django_spire/contrib/sync/django/signals.py
process_sync_request
Source code in django_spire/contrib/sync/django/views.py
153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 | |