Skip to content

Commit

Permalink
create user with tos
Browse files Browse the repository at this point in the history
  • Loading branch information
rogelioLpz committed Sep 29, 2022
1 parent b1c29ab commit 7935205
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions cuenca/resources/users.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ def create(
phone_verification_id: Optional[str] = None,
status: Optional[UserStatus] = None,
required_level: Optional[int] = None,
terms_of_service: Optional[TOSRequest] = None,
*,
session: Session = global_session,
) -> 'User':
Expand All @@ -120,6 +121,7 @@ def create(
phone_verification_id=phone_verification_id,
required_level=required_level,
status=status,
terms_of_service=terms_of_service,
)
return cast('User', cls._create(session=session, **req.dict()))

Expand Down
2 changes: 1 addition & 1 deletion cuenca/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
__version__ = '0.15.0'
__version__ = '0.15.1.dev0'
CLIENT_VERSION = __version__
API_VERSION = '2020-03-19'

0 comments on commit 7935205

Please sign in to comment.