@@ -271,9 +271,6 @@ def update_boolean_attribute(self, database_id, collection_id, key, required, de
271271 if required is None :
272272 raise AppwriteException ('Missing required parameter: "required"' )
273273
274- if default is None :
275- raise AppwriteException ('Missing required parameter: "default"' )
276-
277274 path = path .replace ('{databaseId}' , database_id )
278275 path = path .replace ('{collectionId}' , collection_id )
279276 path = path .replace ('{key}' , key )
@@ -333,9 +330,6 @@ def update_datetime_attribute(self, database_id, collection_id, key, required, d
333330 if required is None :
334331 raise AppwriteException ('Missing required parameter: "required"' )
335332
336- if default is None :
337- raise AppwriteException ('Missing required parameter: "default"' )
338-
339333 path = path .replace ('{databaseId}' , database_id )
340334 path = path .replace ('{collectionId}' , collection_id )
341335 path = path .replace ('{key}' , key )
@@ -395,9 +389,6 @@ def update_email_attribute(self, database_id, collection_id, key, required, defa
395389 if required is None :
396390 raise AppwriteException ('Missing required parameter: "required"' )
397391
398- if default is None :
399- raise AppwriteException ('Missing required parameter: "default"' )
400-
401392 path = path .replace ('{databaseId}' , database_id )
402393 path = path .replace ('{collectionId}' , collection_id )
403394 path = path .replace ('{key}' , key )
@@ -464,9 +455,6 @@ def update_enum_attribute(self, database_id, collection_id, key, elements, requi
464455 if required is None :
465456 raise AppwriteException ('Missing required parameter: "required"' )
466457
467- if default is None :
468- raise AppwriteException ('Missing required parameter: "default"' )
469-
470458 path = path .replace ('{databaseId}' , database_id )
471459 path = path .replace ('{collectionId}' , collection_id )
472460 path = path .replace ('{key}' , key )
@@ -535,9 +523,6 @@ def update_float_attribute(self, database_id, collection_id, key, required, min,
535523 if max is None :
536524 raise AppwriteException ('Missing required parameter: "max"' )
537525
538- if default is None :
539- raise AppwriteException ('Missing required parameter: "default"' )
540-
541526 path = path .replace ('{databaseId}' , database_id )
542527 path = path .replace ('{collectionId}' , collection_id )
543528 path = path .replace ('{key}' , key )
@@ -607,9 +592,6 @@ def update_integer_attribute(self, database_id, collection_id, key, required, mi
607592 if max is None :
608593 raise AppwriteException ('Missing required parameter: "max"' )
609594
610- if default is None :
611- raise AppwriteException ('Missing required parameter: "default"' )
612-
613595 path = path .replace ('{databaseId}' , database_id )
614596 path = path .replace ('{collectionId}' , collection_id )
615597 path = path .replace ('{key}' , key )
@@ -671,9 +653,6 @@ def update_ip_attribute(self, database_id, collection_id, key, required, default
671653 if required is None :
672654 raise AppwriteException ('Missing required parameter: "required"' )
673655
674- if default is None :
675- raise AppwriteException ('Missing required parameter: "default"' )
676-
677656 path = path .replace ('{databaseId}' , database_id )
678657 path = path .replace ('{collectionId}' , collection_id )
679658 path = path .replace ('{key}' , key )
@@ -769,9 +748,6 @@ def update_string_attribute(self, database_id, collection_id, key, required, def
769748 if required is None :
770749 raise AppwriteException ('Missing required parameter: "required"' )
771750
772- if default is None :
773- raise AppwriteException ('Missing required parameter: "default"' )
774-
775751 path = path .replace ('{databaseId}' , database_id )
776752 path = path .replace ('{collectionId}' , collection_id )
777753 path = path .replace ('{key}' , key )
@@ -831,9 +807,6 @@ def update_url_attribute(self, database_id, collection_id, key, required, defaul
831807 if required is None :
832808 raise AppwriteException ('Missing required parameter: "required"' )
833809
834- if default is None :
835- raise AppwriteException ('Missing required parameter: "default"' )
836-
837810 path = path .replace ('{databaseId}' , database_id )
838811 path = path .replace ('{collectionId}' , collection_id )
839812 path = path .replace ('{key}' , key )
0 commit comments