Skip to content

Commit 0200ff3

Browse files
committed
add status in create method
1 parent 6baf457 commit 0200ff3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

cuenca/resources/users.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ def create(
9999
address: Optional[Address] = None,
100100
email_verification_id: Optional[str] = None,
101101
phone_verification_id: Optional[str] = None,
102+
status: Optional[UserStatus] = None,
102103
required_level: Optional[int] = None,
103104
*,
104105
session: Session = global_session,
@@ -112,6 +113,7 @@ def create(
112113
email_verification_id=email_verification_id,
113114
phone_verification_id=phone_verification_id,
114115
required_level=required_level,
116+
status=status,
115117
)
116118
return cast('User', cls._create(session=session, **req.dict()))
117119

cuenca/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
__version__ = '0.12.1.dev2'
1+
__version__ = '0.12.1.dev3'
22
CLIENT_VERSION = __version__
33
API_VERSION = '2020-03-19'

0 commit comments

Comments
 (0)