Skip to content

Commit

Permalink
Updated to latest spec.
Browse files Browse the repository at this point in the history
Change log:
  - Updated documentation.
  - Added removed_member_policy field to FolderPolicy.
  - Added group_type field to GroupInfo.
  - Added owner_team and parent_shared_folder_id field to SharedFolderMetadataBase.
  - Added not_mountable to MountFolderError.
  - Added not_unmountable to UnmountFolderError.
  - Added validation for member external id and email address.
  - Added shared_link_create_policy field to TeamSharingPolicies.
  - Added team_license_limit to MembersSuspendError and MembersUnsuspendError.
  • Loading branch information
braincore committed Mar 21, 2016
1 parent bf0d3af commit 48b0d70
Show file tree
Hide file tree
Showing 14 changed files with 1,078 additions and 358 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@
# built documents.
#
# The short X.Y version.
version = '6.0'
version = '6.1'
# The full version, including alpha/beta/rc tags.
release = '6.0'
release = '6.1'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
6 changes: 4 additions & 2 deletions dropbox/async.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
# Auto-generated by BabelAPI, do not modify.
try:
from . import babel_validators as bv
Expand Down Expand Up @@ -313,7 +314,8 @@ def is_other(self):
def __repr__(self):
return 'PollError(%r, %r)' % (self._tag, self._value)

LaunchResultBase._async_job_id_validator = bv.String(min_length=1)
AsyncJobId_validator = bv.String(min_length=1)
LaunchResultBase._async_job_id_validator = AsyncJobId_validator
LaunchResultBase._tagmap = {
'async_job_id': LaunchResultBase._async_job_id_validator,
}
Expand All @@ -326,7 +328,7 @@ def __repr__(self):

LaunchEmptyResult.complete = LaunchEmptyResult('complete')

PollArg._async_job_id_validator = bv.String(min_length=1)
PollArg._async_job_id_validator = AsyncJobId_validator
PollArg._all_field_names_ = set(['async_job_id'])
PollArg._all_fields_ = [('async_job_id', PollArg._async_job_id_validator)]

Expand Down
1 change: 1 addition & 0 deletions dropbox/auth.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# -*- coding: utf-8 -*-
# Auto-generated by BabelAPI, do not modify.
try:
from . import babel_validators as bv
Expand Down
Loading

0 comments on commit 48b0d70

Please sign in to comment.