Skip to content

Commit 86e77a8

Browse files
authored
Automated Spec Update (dropbox#288)
f16378220aab09f7412206785b6bae0ab119a7c9 Change Notes: Common Namespace - DisplayName validation pattern is updated team_log_generated Namespace - Add ClassificationCreateReportDetails struct - Add ClassificationCreateReportFailDetails struct - Update EventDetails union to include ClassificationCreateReportDetails and ClassificationCreateReportFailDetails - Add ClassificationCreateReportType struct - Add ClassificationCreateReportFailType struct - Update EventType union to include ClassificationCreateReportType and ClassificationCreateReportFailType - Update EventTypeArg union to include classification_create_report and classification_create_report_fail Co-authored-by: DropboxBot <DropboxBot@users.noreply.github.com>
1 parent 3d378fd commit 86e77a8

File tree

3 files changed

+350
-2
lines changed

3 files changed

+350
-2
lines changed

dropbox/common.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -382,7 +382,7 @@ def __repr__(self):
382382
UserRootInfo_validator = bv.Struct(UserRootInfo)
383383

384384
Date_validator = bv.Timestamp(u'%Y-%m-%d')
385-
DisplayName_validator = bv.String(min_length=1, pattern=u'[^/:?*<>"|]*')
385+
DisplayName_validator = bv.String(pattern=u'[^/:?*<>"|]*')
386386
DisplayNameLegacy_validator = bv.String()
387387
DropboxTimestamp_validator = bv.Timestamp(u'%Y-%m-%dT%H:%M:%SZ')
388388
EmailAddress_validator = bv.String(max_length=255, pattern=u"^['&A-Za-z0-9._%+-]+@[A-Za-z0-9-][A-Za-z0-9.-]*\\.[A-Za-z]{2,15}$")

0 commit comments

Comments
 (0)