@@ -795,16 +795,16 @@ class DocumentTabModel(MapAttribute):
795795 document_tab_id = UnicodeAttribute (null = True )
796796 document_tab_name = UnicodeAttribute (null = True )
797797 document_tab_page = NumberAttribute (default = 1 )
798- document_tab_position_x = NumberAttribute ()
799- document_tab_position_y = NumberAttribute ()
798+ document_tab_position_x = NumberAttribute (null = True )
799+ document_tab_position_y = NumberAttribute (null = True )
800800 document_tab_width = NumberAttribute (default = 200 )
801801 document_tab_height = NumberAttribute (default = 20 )
802802 document_tab_is_locked = BooleanAttribute (default = False )
803803 document_tab_is_required = BooleanAttribute (default = True )
804- document_tab_anchor_string = UnicodeAttribute (default = None )
804+ document_tab_anchor_string = UnicodeAttribute (default = None , null = True )
805805 document_tab_anchor_ignore_if_not_present = BooleanAttribute (default = True )
806- document_tab_anchor_x_offset = NumberAttribute ()
807- document_tab_anchor_y_offset = NumberAttribute ()
806+ document_tab_anchor_x_offset = NumberAttribute (null = True )
807+ document_tab_anchor_y_offset = NumberAttribute (null = True )
808808
809809
810810class DocumentTab (model_interfaces .DocumentTab ):
@@ -969,7 +969,7 @@ class DocumentModel(MapAttribute):
969969 document_author_name = UnicodeAttribute (null = True )
970970 # LG: now we can use DateTimeAttribute - because pynamodb was updated
971971 # document_creation_date = UnicodeAttribute(null=True)
972- document_creation_date = DateTimeAttribute ()
972+ document_creation_date = DateTimeAttribute (null = True )
973973 document_preamble = UnicodeAttribute (null = True )
974974 document_legal_entity_name = UnicodeAttribute (null = True )
975975 document_s3_url = UnicodeAttribute (null = True )
@@ -2507,8 +2507,8 @@ class Meta:
25072507 signature_id = UnicodeAttribute (hash_key = True )
25082508 signature_external_id = UnicodeAttribute (null = True )
25092509 signature_project_id = UnicodeAttribute (null = True )
2510- signature_document_minor_version = NumberAttribute ()
2511- signature_document_major_version = NumberAttribute ()
2510+ signature_document_minor_version = NumberAttribute (null = True )
2511+ signature_document_major_version = NumberAttribute (null = True )
25122512 signature_reference_id = UnicodeAttribute (range_key = True )
25132513 signature_reference_name = UnicodeAttribute (null = True )
25142514 signature_reference_name_lower = UnicodeAttribute (null = True )
@@ -3783,8 +3783,8 @@ class Meta:
37833783 read_capacity_units = int (cla .conf ["DYNAMO_READ_UNITS" ])
37843784
37853785 key = UnicodeAttribute (hash_key = True )
3786- value = JSONAttribute ()
3787- expire = NumberAttribute ()
3786+ value = JSONAttribute (null = True )
3787+ expire = NumberAttribute (null = True )
37883788
37893789
37903790class Store (key_value_store_interface .KeyValueStore ):
@@ -3847,7 +3847,7 @@ class Meta:
38473847 organization_url = UnicodeAttribute (null = True )
38483848 organization_name_lower = UnicodeAttribute (null = True )
38493849 organization_sfid = UnicodeAttribute (null = True )
3850- external_gitlab_group_id = NumberAttribute ()
3850+ external_gitlab_group_id = NumberAttribute (null = True )
38513851 project_sfid = UnicodeAttribute (null = True )
38523852 auth_info = UnicodeAttribute (null = True )
38533853 organization_sfid_index = GitlabOrgSFIndex ()
0 commit comments