Skip to content

Commit 65edf97

Browse files
committed
Partial pipeline db storage
1 parent 712b9fa commit 65edf97

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased](https://github.com/python-social-auth/social-app-django-mongoengine/commits/master)
99

10+
### Added
11+
- Added partial pipeline db storage solution
12+
1013
### Changed
1114
- Removed usage of set/get current strategy methods
1215

social_django_mongoengine/models.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
MongoengineAssociationMixin, \
1313
MongoengineNonceMixin, \
1414
MongoengineCodeMixin, \
15+
MongoenginePartialMixin, \
1516
BaseMongoengineStorage
1617

1718

@@ -63,11 +64,17 @@ class Code(Document, MongoengineCodeMixin):
6364
pass
6465

6566

67+
class Partial(Document, MongoenginePartialMixin):
68+
"""Partial pipeline data"""
69+
pass
70+
71+
6672
class DjangoStorage(BaseMongoengineStorage):
6773
user = UserSocialAuth
6874
nonce = Nonce
6975
association = Association
7076
code = Code
77+
partial = Partial
7178

7279
@classmethod
7380
def is_integrity_error(cls, exception):

0 commit comments

Comments
 (0)