@@ -939,7 +939,7 @@ class DocumentModel(MapAttribute):
939939 document_preamble = UnicodeAttribute (null = True )
940940 document_legal_entity_name = UnicodeAttribute (null = True )
941941 document_s3_url = UnicodeAttribute (null = True )
942- document_tabs = ListAttribute (of = DocumentTabModel , default = [] )
942+ document_tabs = ListAttribute (of = DocumentTabModel )
943943
944944
945945class Document (model_interfaces .Document ):
@@ -1142,9 +1142,9 @@ class Meta:
11421142 project_external_id = UnicodeAttribute ()
11431143 project_name = UnicodeAttribute ()
11441144 project_name_lower = UnicodeAttribute (null = True )
1145- project_individual_documents = ListAttribute (of = DocumentModel , default = [] )
1146- project_corporate_documents = ListAttribute (of = DocumentModel , default = [] )
1147- project_member_documents = ListAttribute (of = DocumentModel , default = [] )
1145+ project_individual_documents = ListAttribute (of = DocumentModel )
1146+ project_corporate_documents = ListAttribute (of = DocumentModel )
1147+ project_member_documents = ListAttribute (of = DocumentModel )
11481148 project_icla_enabled = BooleanAttribute (default = True )
11491149 project_ccla_enabled = BooleanAttribute (default = True )
11501150 project_ccla_requires_icla_signature = BooleanAttribute (default = False )
@@ -1158,7 +1158,7 @@ class Meta:
11581158 project_name_lower_search_index = ProjectNameLowerIndex ()
11591159 foundation_sfid_project_name_index = ProjectFoundationIDIndex ()
11601160
1161- project_acl = UnicodeSetAttribute (default = set () )
1161+ project_acl = UnicodeSetAttribute (default = set )
11621162 # Default is v1 for all of our models - override for this model so that we can redirect to new UI when ready
11631163 # version = UnicodeAttribute(default="v2") # Schema version is v2 for Project Models
11641164
@@ -1567,7 +1567,7 @@ class Meta:
15671567 user_id = UnicodeAttribute (hash_key = True )
15681568 # User Emails are specifically GitHub Emails
15691569 user_external_id = UnicodeAttribute (null = True )
1570- user_emails = UnicodeSetAttribute (default = set () )
1570+ user_emails = UnicodeSetAttribute (default = set )
15711571 user_name = UnicodeAttribute (null = True )
15721572 user_company_id = UnicodeAttribute (null = True )
15731573 user_github_id = NumberAttribute (null = True )
@@ -3491,7 +3491,7 @@ class Meta:
34913491 company_name_index = CompanyNameIndex ()
34923492 signing_entity_name_index = SigningEntityNameIndex ()
34933493 company_external_id_index = ExternalCompanyIndex ()
3494- company_acl = UnicodeSetAttribute (default = set () )
3494+ company_acl = UnicodeSetAttribute (default = set )
34953495 note = UnicodeAttribute (null = True )
34963496
34973497
@@ -4562,7 +4562,7 @@ class Meta:
45624562 host = "http://localhost:8000"
45634563
45644564 username = UnicodeAttribute (hash_key = True )
4565- projects = UnicodeSetAttribute (default = set () )
4565+ projects = UnicodeSetAttribute (default = set )
45664566
45674567
45684568class UserPermissions (model_interfaces .UserPermissions ): # pylint: disable=too-many-public-methods
@@ -5262,7 +5262,7 @@ class Meta:
52625262 project_id = UnicodeAttribute (null = True )
52635263 project_name = UnicodeAttribute (null = True )
52645264 request_status = UnicodeAttribute (null = True )
5265- user_emails = UnicodeSetAttribute (default = set () )
5265+ user_emails = UnicodeSetAttribute (default = set )
52665266 user_id = UnicodeAttribute (null = True )
52675267 user_github_id = UnicodeAttribute (null = True )
52685268 user_github_username = UnicodeAttribute (null = True )
0 commit comments