appwrite 22.2.0__tar.gz → 23.0.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (405) hide show
  1. {appwrite-22.2.0 → appwrite-23.0.0}/PKG-INFO +3 -3
  2. {appwrite-22.2.0 → appwrite-23.0.0}/README.md +1 -1
  3. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/client.py +10 -3
  4. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/encoders/value_class_encoder.py +8 -0
  5. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/authentication_factor.py +1 -0
  6. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/build_runtime.py +1 -0
  7. appwrite-23.0.0/appwrite/enums/embedding_model.py +7 -0
  8. appwrite-23.0.0/appwrite/enums/invalidation_type.py +6 -0
  9. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/project_key_scopes.py +2 -0
  10. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/project_policy_id.py +1 -0
  11. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/runtime.py +1 -0
  12. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/__init__.py +18 -0
  13. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/billing_plan.py +8 -8
  14. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/billing_plan_addon.py +4 -4
  15. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/billing_plan_addon_details.py +2 -2
  16. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/database.py +1 -1
  17. appwrite-23.0.0/appwrite/models/database_migration.py +60 -0
  18. appwrite-23.0.0/appwrite/models/database_migration_list.py +19 -0
  19. appwrite-23.0.0/appwrite/models/database_status.py +57 -0
  20. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/database_status_connections.py +1 -1
  21. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/database_status_replica.py +2 -2
  22. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/dedicated_database.py +3 -6
  23. appwrite-23.0.0/appwrite/models/dedicated_database_member.py +24 -0
  24. appwrite-23.0.0/appwrite/models/dedicated_database_operation.py +45 -0
  25. appwrite-23.0.0/appwrite/models/dedicated_database_operation_list.py +19 -0
  26. appwrite-23.0.0/appwrite/models/dedicated_database_replicas.py +37 -0
  27. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/dedicated_database_specification_pricing.py +0 -3
  28. appwrite-23.0.0/appwrite/models/document.py +121 -0
  29. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/document_list.py +1 -1
  30. appwrite-23.0.0/appwrite/models/embedding.py +24 -0
  31. appwrite-23.0.0/appwrite/models/embedding_list.py +19 -0
  32. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/file.py +6 -0
  33. appwrite-23.0.0/appwrite/models/mfa_challenge_secret.py +27 -0
  34. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/mfa_factors.py +3 -0
  35. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/organization.py +25 -25
  36. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/policy_list.py +3 -2
  37. appwrite-23.0.0/appwrite/models/policy_mfa_factors.py +27 -0
  38. appwrite-23.0.0/appwrite/models/preferences.py +67 -0
  39. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/project.py +3 -0
  40. appwrite-23.0.0/appwrite/models/proxy_invalidation.py +24 -0
  41. appwrite-23.0.0/appwrite/models/row.py +121 -0
  42. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/row_list.py +1 -1
  43. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/team_list.py +1 -1
  44. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/usage_billing_plan.py +6 -6
  45. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/user_list.py +1 -1
  46. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/service.py +2 -1
  47. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/services/account.py +1 -40
  48. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/services/activities.py +2 -2
  49. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/services/apps.py +52 -5
  50. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/services/backups.py +3 -3
  51. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/services/databases.py +4 -4
  52. appwrite-23.0.0/appwrite/services/embeddings.py +58 -0
  53. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/services/functions.py +1 -1
  54. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/services/project.py +76 -72
  55. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/services/proxy.py +56 -0
  56. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/services/sites.py +1 -1
  57. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/services/storage.py +6 -1
  58. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/services/tables_db.py +310 -7
  59. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/services/users.py +47 -0
  60. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite.egg-info/PKG-INFO +3 -3
  61. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite.egg-info/SOURCES.txt +12 -0
  62. {appwrite-22.2.0 → appwrite-23.0.0}/pyproject.toml +1 -1
  63. {appwrite-22.2.0 → appwrite-23.0.0}/setup.py +2 -2
  64. appwrite-22.2.0/appwrite/models/database_status.py +0 -39
  65. appwrite-22.2.0/appwrite/models/dedicated_database_member.py +0 -24
  66. appwrite-22.2.0/appwrite/models/dedicated_database_replicas.py +0 -22
  67. appwrite-22.2.0/appwrite/models/document.py +0 -80
  68. appwrite-22.2.0/appwrite/models/preferences.py +0 -52
  69. appwrite-22.2.0/appwrite/models/row.py +0 -80
  70. {appwrite-22.2.0 → appwrite-23.0.0}/LICENSE +0 -0
  71. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/__init__.py +0 -0
  72. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/encoders/__init__.py +0 -0
  73. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/__init__.py +0 -0
  74. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/adapter.py +0 -0
  75. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/attribute_status.py +0 -0
  76. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/authenticator_type.py +0 -0
  77. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/backup_services.py +0 -0
  78. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/billing_plan_group.py +0 -0
  79. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/browser.py +0 -0
  80. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/browser_permission.py +0 -0
  81. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/browser_theme.py +0 -0
  82. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/column_status.py +0 -0
  83. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/compression.py +0 -0
  84. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/credit_card.py +0 -0
  85. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/database_status.py +0 -0
  86. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/database_type.py +0 -0
  87. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/databases_index_type.py +0 -0
  88. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/deployment_download_type.py +0 -0
  89. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/deployment_status.py +0 -0
  90. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/execution_method.py +0 -0
  91. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/execution_status.py +0 -0
  92. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/execution_trigger.py +0 -0
  93. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/flag.py +0 -0
  94. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/framework.py +0 -0
  95. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/image_format.py +0 -0
  96. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/image_gravity.py +0 -0
  97. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/index_status.py +0 -0
  98. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/message_priority.py +0 -0
  99. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/message_status.py +0 -0
  100. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/messaging_provider_type.py +0 -0
  101. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/o_auth2_google_prompt.py +0 -0
  102. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/o_auth2_oidc_prompt.py +0 -0
  103. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/o_auth_provider.py +0 -0
  104. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/order_by.py +0 -0
  105. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/organization_key_scopes.py +0 -0
  106. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/password_hash.py +0 -0
  107. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/platform_type.py +0 -0
  108. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/project_auth_method_id.py +0 -0
  109. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/project_email_template_id.py +0 -0
  110. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/project_email_template_locale.py +0 -0
  111. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/project_o_auth2_google_prompt.py +0 -0
  112. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/project_o_auth2_oidc_prompt.py +0 -0
  113. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/project_o_auth_provider_id.py +0 -0
  114. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/project_protocol_id.py +0 -0
  115. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/project_service_id.py +0 -0
  116. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/project_smtp_secure.py +0 -0
  117. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/proxy_resource_type.py +0 -0
  118. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/proxy_rule_deployment_resource_type.py +0 -0
  119. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/proxy_rule_status.py +0 -0
  120. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/region.py +0 -0
  121. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/relation_mutate.py +0 -0
  122. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/relationship_type.py +0 -0
  123. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/smtp_encryption.py +0 -0
  124. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/status_code.py +0 -0
  125. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/tables_db_index_type.py +0 -0
  126. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/template_reference_type.py +0 -0
  127. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/timezone.py +0 -0
  128. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/enums/vcs_reference_type.py +0 -0
  129. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/exception.py +0 -0
  130. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/id.py +0 -0
  131. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/input_file.py +0 -0
  132. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/activity_event.py +0 -0
  133. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/activity_event_list.py +0 -0
  134. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/additional_resource.py +0 -0
  135. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/algo_argon2.py +0 -0
  136. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/algo_bcrypt.py +0 -0
  137. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/algo_md5.py +0 -0
  138. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/algo_phpass.py +0 -0
  139. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/algo_scrypt.py +0 -0
  140. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/algo_scrypt_modified.py +0 -0
  141. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/algo_sha.py +0 -0
  142. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/app.py +0 -0
  143. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/app_installation.py +0 -0
  144. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/app_installation_list.py +0 -0
  145. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/app_key.py +0 -0
  146. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/app_key_list.py +0 -0
  147. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/app_scope.py +0 -0
  148. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/app_scope_list.py +0 -0
  149. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/app_secret.py +0 -0
  150. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/app_secret_list.py +0 -0
  151. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/app_secret_plaintext.py +0 -0
  152. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/apps_list.py +0 -0
  153. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/attribute_bigint.py +0 -0
  154. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/attribute_boolean.py +0 -0
  155. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/attribute_datetime.py +0 -0
  156. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/attribute_email.py +0 -0
  157. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/attribute_enum.py +0 -0
  158. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/attribute_float.py +0 -0
  159. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/attribute_integer.py +0 -0
  160. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/attribute_ip.py +0 -0
  161. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/attribute_line.py +0 -0
  162. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/attribute_list.py +0 -0
  163. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/attribute_longtext.py +0 -0
  164. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/attribute_mediumtext.py +0 -0
  165. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/attribute_point.py +0 -0
  166. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/attribute_polygon.py +0 -0
  167. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/attribute_relationship.py +0 -0
  168. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/attribute_string.py +0 -0
  169. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/attribute_text.py +0 -0
  170. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/attribute_url.py +0 -0
  171. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/attribute_varchar.py +0 -0
  172. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/backup_archive.py +0 -0
  173. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/backup_archive_list.py +0 -0
  174. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/backup_policy.py +0 -0
  175. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/backup_policy_list.py +0 -0
  176. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/backup_restoration.py +0 -0
  177. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/backup_restoration_list.py +0 -0
  178. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/base_model.py +0 -0
  179. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/billing_limits.py +0 -0
  180. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/billing_plan_dedicated_database_limits.py +0 -0
  181. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/billing_plan_limits.py +0 -0
  182. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/billing_plan_supported_addons.py +0 -0
  183. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/block.py +0 -0
  184. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/bucket.py +0 -0
  185. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/bucket_list.py +0 -0
  186. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/collection.py +0 -0
  187. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/collection_list.py +0 -0
  188. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/column_bigint.py +0 -0
  189. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/column_boolean.py +0 -0
  190. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/column_datetime.py +0 -0
  191. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/column_email.py +0 -0
  192. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/column_enum.py +0 -0
  193. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/column_float.py +0 -0
  194. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/column_index.py +0 -0
  195. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/column_index_list.py +0 -0
  196. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/column_integer.py +0 -0
  197. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/column_ip.py +0 -0
  198. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/column_line.py +0 -0
  199. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/column_list.py +0 -0
  200. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/column_longtext.py +0 -0
  201. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/column_mediumtext.py +0 -0
  202. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/column_point.py +0 -0
  203. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/column_polygon.py +0 -0
  204. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/column_relationship.py +0 -0
  205. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/column_string.py +0 -0
  206. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/column_text.py +0 -0
  207. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/column_url.py +0 -0
  208. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/column_varchar.py +0 -0
  209. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/continent.py +0 -0
  210. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/continent_list.py +0 -0
  211. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/country.py +0 -0
  212. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/country_list.py +0 -0
  213. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/currency.py +0 -0
  214. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/currency_list.py +0 -0
  215. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/database_list.py +0 -0
  216. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/database_status_volume.py +0 -0
  217. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/dedicated_database_specification.py +0 -0
  218. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/dedicated_database_specification_list.py +0 -0
  219. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/deployment.py +0 -0
  220. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/deployment_list.py +0 -0
  221. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/dev_key.py +0 -0
  222. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/email_template.py +0 -0
  223. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/email_template_list.py +0 -0
  224. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/ephemeral_key.py +0 -0
  225. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/execution.py +0 -0
  226. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/execution_list.py +0 -0
  227. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/file_list.py +0 -0
  228. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/framework.py +0 -0
  229. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/framework_adapter.py +0 -0
  230. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/framework_list.py +0 -0
  231. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/function.py +0 -0
  232. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/function_list.py +0 -0
  233. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/headers.py +0 -0
  234. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/identity.py +0 -0
  235. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/identity_list.py +0 -0
  236. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/index.py +0 -0
  237. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/index_list.py +0 -0
  238. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/insight.py +0 -0
  239. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/insight_cta.py +0 -0
  240. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/insight_list.py +0 -0
  241. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/jwt.py +0 -0
  242. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/key.py +0 -0
  243. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/key_list.py +0 -0
  244. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/language.py +0 -0
  245. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/language_list.py +0 -0
  246. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/locale.py +0 -0
  247. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/locale_code.py +0 -0
  248. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/locale_code_list.py +0 -0
  249. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/log.py +0 -0
  250. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/log_list.py +0 -0
  251. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/membership.py +0 -0
  252. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/membership_list.py +0 -0
  253. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/message.py +0 -0
  254. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/message_list.py +0 -0
  255. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/mfa_challenge.py +0 -0
  256. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/mfa_recovery_codes.py +0 -0
  257. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/mfa_type.py +0 -0
  258. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/mock_number.py +0 -0
  259. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/mock_number_list.py +0 -0
  260. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_amazon.py +0 -0
  261. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_apple.py +0 -0
  262. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_appwrite.py +0 -0
  263. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_auth0.py +0 -0
  264. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_authentik.py +0 -0
  265. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_autodesk.py +0 -0
  266. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_bitbucket.py +0 -0
  267. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_bitly.py +0 -0
  268. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_box.py +0 -0
  269. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_dailymotion.py +0 -0
  270. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_discord.py +0 -0
  271. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_disqus.py +0 -0
  272. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_dropbox.py +0 -0
  273. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_etsy.py +0 -0
  274. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_facebook.py +0 -0
  275. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_figma.py +0 -0
  276. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_fusion_auth.py +0 -0
  277. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_github.py +0 -0
  278. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_gitlab.py +0 -0
  279. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_google.py +0 -0
  280. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_keycloak.py +0 -0
  281. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_kick.py +0 -0
  282. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_linkedin.py +0 -0
  283. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_microsoft.py +0 -0
  284. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_notion.py +0 -0
  285. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_oidc.py +0 -0
  286. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_okta.py +0 -0
  287. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_paypal.py +0 -0
  288. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_podio.py +0 -0
  289. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_provider_list.py +0 -0
  290. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_salesforce.py +0 -0
  291. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_slack.py +0 -0
  292. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_spotify.py +0 -0
  293. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_stripe.py +0 -0
  294. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_tradeshift.py +0 -0
  295. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_twitch.py +0 -0
  296. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_word_press.py +0 -0
  297. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_x.py +0 -0
  298. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_yahoo.py +0 -0
  299. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_yandex.py +0 -0
  300. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_zoho.py +0 -0
  301. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/o_auth2_zoom.py +0 -0
  302. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/oauth2_approve.py +0 -0
  303. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/oauth2_authorize.py +0 -0
  304. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/oauth2_consent.py +0 -0
  305. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/oauth2_consent_list.py +0 -0
  306. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/oauth2_consent_token.py +0 -0
  307. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/oauth2_consent_token_list.py +0 -0
  308. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/oauth2_device_authorization.py +0 -0
  309. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/oauth2_grant.py +0 -0
  310. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/oauth2_organization.py +0 -0
  311. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/oauth2_organization_list.py +0 -0
  312. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/oauth2_par.py +0 -0
  313. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/oauth2_project.py +0 -0
  314. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/oauth2_project_list.py +0 -0
  315. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/oauth2_reject.py +0 -0
  316. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/oauth2_token.py +0 -0
  317. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/phone.py +0 -0
  318. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/phone_list.py +0 -0
  319. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/platform_android.py +0 -0
  320. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/platform_apple.py +0 -0
  321. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/platform_linux.py +0 -0
  322. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/platform_list.py +0 -0
  323. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/platform_web.py +0 -0
  324. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/platform_windows.py +0 -0
  325. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/policy_deny_aliased_email.py +0 -0
  326. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/policy_deny_corporate_email.py +0 -0
  327. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/policy_deny_disposable_email.py +0 -0
  328. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/policy_deny_free_email.py +0 -0
  329. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/policy_membership_privacy.py +0 -0
  330. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/policy_password_dictionary.py +0 -0
  331. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/policy_password_history.py +0 -0
  332. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/policy_password_personal_data.py +0 -0
  333. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/policy_password_strength.py +0 -0
  334. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/policy_session_alert.py +0 -0
  335. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/policy_session_duration.py +0 -0
  336. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/policy_session_invalidation.py +0 -0
  337. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/policy_session_limit.py +0 -0
  338. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/policy_user_limit.py +0 -0
  339. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/presence.py +0 -0
  340. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/presence_list.py +0 -0
  341. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/program.py +0 -0
  342. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/project_auth_method.py +0 -0
  343. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/project_list.py +0 -0
  344. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/project_protocol.py +0 -0
  345. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/project_service.py +0 -0
  346. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/provider.py +0 -0
  347. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/provider_list.py +0 -0
  348. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/proxy_rule.py +0 -0
  349. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/proxy_rule_list.py +0 -0
  350. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/report.py +0 -0
  351. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/report_list.py +0 -0
  352. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/resource_token.py +0 -0
  353. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/resource_token_list.py +0 -0
  354. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/runtime.py +0 -0
  355. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/runtime_list.py +0 -0
  356. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/session.py +0 -0
  357. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/session_list.py +0 -0
  358. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/site.py +0 -0
  359. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/site_list.py +0 -0
  360. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/specification.py +0 -0
  361. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/specification_list.py +0 -0
  362. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/subscriber.py +0 -0
  363. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/subscriber_list.py +0 -0
  364. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/table.py +0 -0
  365. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/table_list.py +0 -0
  366. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/target.py +0 -0
  367. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/target_list.py +0 -0
  368. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/team.py +0 -0
  369. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/token.py +0 -0
  370. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/topic.py +0 -0
  371. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/topic_list.py +0 -0
  372. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/transaction.py +0 -0
  373. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/transaction_list.py +0 -0
  374. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/user.py +0 -0
  375. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/variable.py +0 -0
  376. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/variable_list.py +0 -0
  377. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/webhook.py +0 -0
  378. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/models/webhook_list.py +0 -0
  379. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/operator.py +0 -0
  380. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/permission.py +0 -0
  381. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/query.py +0 -0
  382. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/role.py +0 -0
  383. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/services/__init__.py +0 -0
  384. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/services/advisor.py +0 -0
  385. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/services/avatars.py +0 -0
  386. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/services/graphql.py +0 -0
  387. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/services/locale.py +0 -0
  388. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/services/messaging.py +0 -0
  389. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/services/oauth2.py +0 -0
  390. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/services/organization.py +0 -0
  391. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/services/presences.py +0 -0
  392. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/services/teams.py +0 -0
  393. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/services/tokens.py +0 -0
  394. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/services/webhooks.py +0 -0
  395. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/utils/__init__.py +0 -0
  396. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite/utils/deprecated.py +0 -0
  397. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite.egg-info/dependency_links.txt +0 -0
  398. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite.egg-info/requires.txt +0 -0
  399. {appwrite-22.2.0 → appwrite-23.0.0}/appwrite.egg-info/top_level.txt +0 -0
  400. {appwrite-22.2.0 → appwrite-23.0.0}/setup.cfg +0 -0
  401. {appwrite-22.2.0 → appwrite-23.0.0}/test/test_id.py +0 -0
  402. {appwrite-22.2.0 → appwrite-23.0.0}/test/test_operator.py +0 -0
  403. {appwrite-22.2.0 → appwrite-23.0.0}/test/test_permission.py +0 -0
  404. {appwrite-22.2.0 → appwrite-23.0.0}/test/test_query.py +0 -0
  405. {appwrite-22.2.0 → appwrite-23.0.0}/test/test_role.py +0 -0
@@ -1,9 +1,9 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: appwrite
3
- Version: 22.2.0
3
+ Version: 23.0.0
4
4
  Summary: Appwrite is an open-source self-hosted backend server that abstracts and simplifies complex and repetitive development tasks behind a very simple REST API
5
5
  Home-page: https://appwrite.io/support
6
- Download-URL: https://github.com/appwrite/sdk-for-python/archive/22.2.0.tar.gz
6
+ Download-URL: https://github.com/appwrite/sdk-for-python/archive/23.0.0.tar.gz
7
7
  Author: Appwrite Team
8
8
  Author-email: Appwrite Team <team@appwrite.io>
9
9
  Maintainer: Appwrite Team
@@ -38,7 +38,7 @@ Dynamic: requires-python
38
38
  # Appwrite Python SDK
39
39
 
40
40
  ![License](https://img.shields.io/github/license/appwrite/sdk-for-python.svg?style=flat-square)
41
- ![Version](https://img.shields.io/badge/api%20version-1.9.5-blue.svg?style=flat-square)
41
+ ![Version](https://img.shields.io/badge/api%20version-1.9.6-blue.svg?style=flat-square)
42
42
  [![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator)
43
43
  [![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
44
44
  [![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
@@ -1,7 +1,7 @@
1
1
  # Appwrite Python SDK
2
2
 
3
3
  ![License](https://img.shields.io/github/license/appwrite/sdk-for-python.svg?style=flat-square)
4
- ![Version](https://img.shields.io/badge/api%20version-1.9.5-blue.svg?style=flat-square)
4
+ ![Version](https://img.shields.io/badge/api%20version-1.9.6-blue.svg?style=flat-square)
5
5
  [![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator)
6
6
  [![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
7
7
  [![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
@@ -17,12 +17,12 @@ class Client:
17
17
  self._endpoint = 'https://cloud.appwrite.io/v1'
18
18
  self._global_headers = {
19
19
  'content-type': '',
20
- 'user-agent' : f'AppwritePythonSDK/22.2.0 ({platform.uname().system}; {platform.uname().version}; {platform.uname().machine})',
20
+ 'user-agent' : f'AppwritePythonSDK/23.0.0 ({platform.uname().system}; {platform.uname().version}; {platform.uname().machine})',
21
21
  'x-sdk-name': 'Python',
22
22
  'x-sdk-platform': 'server',
23
23
  'x-sdk-language': 'python',
24
- 'x-sdk-version': '22.2.0',
25
- 'X-Appwrite-Response-Format' : '1.9.5',
24
+ 'x-sdk-version': '23.0.0',
25
+ 'X-Appwrite-Response-Format' : '1.9.6',
26
26
  }
27
27
  self._config = {}
28
28
 
@@ -60,6 +60,13 @@ class Client:
60
60
  self._config['key'] = value
61
61
  return self
62
62
 
63
+ def set_organization(self, value):
64
+ """Your organization ID"""
65
+
66
+ self._global_headers['x-appwrite-organization'] = value
67
+ self._config['organization'] = value
68
+ return self
69
+
63
70
  def set_jwt(self, value):
64
71
  """Your secret JSON Web Token"""
65
72
 
@@ -15,6 +15,7 @@ from ..enums.relationship_type import RelationshipType
15
15
  from ..enums.relation_mutate import RelationMutate
16
16
  from ..enums.databases_index_type import DatabasesIndexType
17
17
  from ..enums.order_by import OrderBy
18
+ from ..enums.embedding_model import EmbeddingModel
18
19
  from ..enums.runtime import Runtime
19
20
  from ..enums.project_key_scopes import ProjectKeyScopes
20
21
  from ..enums.template_reference_type import TemplateReferenceType
@@ -35,6 +36,7 @@ from ..enums.project_service_id import ProjectServiceId
35
36
  from ..enums.project_smtp_secure import ProjectSMTPSecure
36
37
  from ..enums.project_email_template_id import ProjectEmailTemplateId
37
38
  from ..enums.project_email_template_locale import ProjectEmailTemplateLocale
39
+ from ..enums.invalidation_type import InvalidationType
38
40
  from ..enums.status_code import StatusCode
39
41
  from ..enums.proxy_resource_type import ProxyResourceType
40
42
  from ..enums.framework import Framework
@@ -111,6 +113,9 @@ class ValueClassEncoder(json.JSONEncoder):
111
113
  if isinstance(o, OrderBy):
112
114
  return o.value
113
115
 
116
+ if isinstance(o, EmbeddingModel):
117
+ return o.value
118
+
114
119
  if isinstance(o, Runtime):
115
120
  return o.value
116
121
 
@@ -171,6 +176,9 @@ class ValueClassEncoder(json.JSONEncoder):
171
176
  if isinstance(o, ProjectEmailTemplateLocale):
172
177
  return o.value
173
178
 
179
+ if isinstance(o, InvalidationType):
180
+ return o.value
181
+
174
182
  if isinstance(o, StatusCode):
175
183
  return o.value
176
184
 
@@ -5,3 +5,4 @@ class AuthenticationFactor(Enum):
5
5
  PHONE = "phone"
6
6
  TOTP = "totp"
7
7
  RECOVERYCODE = "recoverycode"
8
+ CUSTOM = "custom"
@@ -11,6 +11,7 @@ class BuildRuntime(Enum):
11
11
  NODE_23 = "node-23"
12
12
  NODE_24 = "node-24"
13
13
  NODE_25 = "node-25"
14
+ NODE_26 = "node-26"
14
15
  PHP_8_0 = "php-8.0"
15
16
  PHP_8_1 = "php-8.1"
16
17
  PHP_8_2 = "php-8.2"
@@ -0,0 +1,7 @@
1
+ from enum import Enum
2
+
3
+ class EmbeddingModel(Enum):
4
+ NOMIC_EMBED_TEXT = "nomic-embed-text"
5
+ EMBEDDING_GEMMA = "embedding-gemma"
6
+ ALL_MINILM = "all-minilm"
7
+ BGE_SMALL = "bge-small"
@@ -0,0 +1,6 @@
1
+ from enum import Enum
2
+
3
+ class InvalidationType(Enum):
4
+ TAG = "tag"
5
+ PATH = "path"
6
+ ALL = "all"
@@ -35,6 +35,7 @@ class ProjectKeyScopes(Enum):
35
35
  INDEXES_WRITE = "indexes.write"
36
36
  ROWS_READ = "rows.read"
37
37
  ROWS_WRITE = "rows.write"
38
+ EMBEDDINGS_WRITE = "embeddings.write"
38
39
  COLLECTIONS_READ = "collections.read"
39
40
  COLLECTIONS_WRITE = "collections.write"
40
41
  ATTRIBUTES_READ = "attributes.read"
@@ -99,6 +100,7 @@ class ProjectKeyScopes(Enum):
99
100
  WAFRULES_READ = "wafRules.read"
100
101
  WAFRULES_WRITE = "wafRules.write"
101
102
  EVENTS_READ = "events.read"
103
+ PROXY_INVALIDATIONS_WRITE = "proxy.invalidations.write"
102
104
  APPS_READ = "apps.read"
103
105
  APPS_WRITE = "apps.write"
104
106
  OAUTH2_READ = "oauth2.read"
@@ -11,6 +11,7 @@ class ProjectPolicyId(Enum):
11
11
  SESSION_LIMIT = "session-limit"
12
12
  USER_LIMIT = "user-limit"
13
13
  MEMBERSHIP_PRIVACY = "membership-privacy"
14
+ MFA_FACTORS = "mfa-factors"
14
15
  DENY_ALIASED_EMAIL = "deny-aliased-email"
15
16
  DENY_DISPOSABLE_EMAIL = "deny-disposable-email"
16
17
  DENY_FREE_EMAIL = "deny-free-email"
@@ -11,6 +11,7 @@ class Runtime(Enum):
11
11
  NODE_23 = "node-23"
12
12
  NODE_24 = "node-24"
13
13
  NODE_25 = "node-25"
14
+ NODE_26 = "node-26"
14
15
  PHP_8_0 = "php-8.0"
15
16
  PHP_8_1 = "php-8.1"
16
17
  PHP_8_2 = "php-8.2"
@@ -43,9 +43,11 @@ from .subscriber_list import SubscriberList
43
43
  from .target_list import TargetList
44
44
  from .transaction_list import TransactionList
45
45
  from .specification_list import SpecificationList
46
+ from .embedding_list import EmbeddingList
46
47
  from .insight_list import InsightList
47
48
  from .report_list import ReportList
48
49
  from .database import Database
50
+ from .embedding import Embedding
49
51
  from .collection import Collection
50
52
  from .attribute_list import AttributeList
51
53
  from .attribute_string import AttributeString
@@ -180,6 +182,7 @@ from .policy_session_invalidation import PolicySessionInvalidation
180
182
  from .policy_session_limit import PolicySessionLimit
181
183
  from .policy_user_limit import PolicyUserLimit
182
184
  from .policy_membership_privacy import PolicyMembershipPrivacy
185
+ from .policy_mfa_factors import PolicyMfaFactors
183
186
  from .platform_web import PlatformWeb
184
187
  from .platform_apple import PlatformApple
185
188
  from .platform_android import PlatformAndroid
@@ -197,6 +200,7 @@ from .specification import Specification
197
200
  from .proxy_rule import ProxyRule
198
201
  from .email_template import EmailTemplate
199
202
  from .mfa_challenge import MfaChallenge
203
+ from .mfa_challenge_secret import MfaChallengeSecret
200
204
  from .mfa_recovery_codes import MfaRecoveryCodes
201
205
  from .mfa_type import MfaType
202
206
  from .mfa_factors import MfaFactors
@@ -220,10 +224,14 @@ from .billing_plan_limits import BillingPlanLimits
220
224
  from .billing_plan_dedicated_database_limits import BillingPlanDedicatedDatabaseLimits
221
225
  from .billing_plan_supported_addons import BillingPlanSupportedAddons
222
226
  from .block import Block
227
+ from .database_migration import DatabaseMigration
223
228
  from .dedicated_database import DedicatedDatabase
224
229
  from .database_status import DatabaseStatus
225
230
  from .dedicated_database_member import DedicatedDatabaseMember
231
+ from .dedicated_database_operation import DedicatedDatabaseOperation
232
+ from .dedicated_database_operation_list import DedicatedDatabaseOperationList
226
233
  from .dedicated_database_replicas import DedicatedDatabaseReplicas
234
+ from .proxy_invalidation import ProxyInvalidation
227
235
  from .organization import Organization
228
236
  from .backup_policy import BackupPolicy
229
237
  from .policy_deny_aliased_email import PolicyDenyAliasedEmail
@@ -264,6 +272,7 @@ from .activity_event_list import ActivityEventList
264
272
  from .backup_archive_list import BackupArchiveList
265
273
  from .backup_policy_list import BackupPolicyList
266
274
  from .backup_restoration_list import BackupRestorationList
275
+ from .database_migration_list import DatabaseMigrationList
267
276
  from .apps_list import AppsList
268
277
  from .app_secret_list import AppSecretList
269
278
  from .app_scope_list import AppScopeList
@@ -316,9 +325,11 @@ __all__ = [
316
325
  'TargetList',
317
326
  'TransactionList',
318
327
  'SpecificationList',
328
+ 'EmbeddingList',
319
329
  'InsightList',
320
330
  'ReportList',
321
331
  'Database',
332
+ 'Embedding',
322
333
  'Collection',
323
334
  'AttributeList',
324
335
  'AttributeString',
@@ -453,6 +464,7 @@ __all__ = [
453
464
  'PolicySessionLimit',
454
465
  'PolicyUserLimit',
455
466
  'PolicyMembershipPrivacy',
467
+ 'PolicyMfaFactors',
456
468
  'PlatformWeb',
457
469
  'PlatformApple',
458
470
  'PlatformAndroid',
@@ -470,6 +482,7 @@ __all__ = [
470
482
  'ProxyRule',
471
483
  'EmailTemplate',
472
484
  'MfaChallenge',
485
+ 'MfaChallengeSecret',
473
486
  'MfaRecoveryCodes',
474
487
  'MfaType',
475
488
  'MfaFactors',
@@ -493,10 +506,14 @@ __all__ = [
493
506
  'BillingPlanDedicatedDatabaseLimits',
494
507
  'BillingPlanSupportedAddons',
495
508
  'Block',
509
+ 'DatabaseMigration',
496
510
  'DedicatedDatabase',
497
511
  'DatabaseStatus',
498
512
  'DedicatedDatabaseMember',
513
+ 'DedicatedDatabaseOperation',
514
+ 'DedicatedDatabaseOperationList',
499
515
  'DedicatedDatabaseReplicas',
516
+ 'ProxyInvalidation',
500
517
  'Organization',
501
518
  'BackupPolicy',
502
519
  'PolicyDenyAliasedEmail',
@@ -537,6 +554,7 @@ __all__ = [
537
554
  'BackupArchiveList',
538
555
  'BackupPolicyList',
539
556
  'BackupRestorationList',
557
+ 'DatabaseMigrationList',
540
558
  'AppsList',
541
559
  'AppSecretList',
542
560
  'AppScopeList',
@@ -36,7 +36,7 @@ class BillingPlan(AppwriteModel):
36
36
  Image Transformations
37
37
  screenshotsgenerated : float
38
38
  Screenshots generated
39
- members : float
39
+ members : Optional[float]
40
40
  Members
41
41
  webhooks : float
42
42
  Webhooks
@@ -84,7 +84,7 @@ class BillingPlan(AppwriteModel):
84
84
  SMS authentications per month
85
85
  domains : float
86
86
  Custom domains
87
- activitylogs : float
87
+ activitylogs : Optional[float]
88
88
  Activity log days
89
89
  usagelogs : float
90
90
  Usage history days
@@ -132,13 +132,13 @@ class BillingPlan(AppwriteModel):
132
132
  Does plan support restricting sign-ups to corporate email addresses only.
133
133
  supportsprojectspecificroles : bool
134
134
  Does plan support project-specific member roles.
135
- backupsenabled : bool
135
+ backupsenabled : Optional[bool]
136
136
  Does plan support backup policies.
137
137
  usageperproject : bool
138
138
  Whether usage addons are calculated per project.
139
139
  supportedaddons : BillingPlanSupportedAddons
140
140
  Supported addons for this plan
141
- backuppolicies : float
141
+ backuppolicies : Optional[float]
142
142
  How many policies does plan support
143
143
  deploymentsize : float
144
144
  Maximum function and site deployment size in MB
@@ -165,7 +165,7 @@ class BillingPlan(AppwriteModel):
165
165
  storage: float = Field(..., alias='storage')
166
166
  imagetransformations: float = Field(..., alias='imageTransformations')
167
167
  screenshotsgenerated: float = Field(..., alias='screenshotsGenerated')
168
- members: float = Field(..., alias='members')
168
+ members: Optional[float] = Field(default=None, alias='members')
169
169
  webhooks: float = Field(..., alias='webhooks')
170
170
  wafrules: float = Field(..., alias='wafRules')
171
171
  projects: float = Field(..., alias='projects')
@@ -189,7 +189,7 @@ class BillingPlan(AppwriteModel):
189
189
  topics: float = Field(..., alias='topics')
190
190
  authphone: float = Field(..., alias='authPhone')
191
191
  domains: float = Field(..., alias='domains')
192
- activitylogs: float = Field(..., alias='activityLogs')
192
+ activitylogs: Optional[float] = Field(default=None, alias='activityLogs')
193
193
  usagelogs: float = Field(..., alias='usageLogs')
194
194
  usagelogsintervals: Optional[List[Any]] = Field(default=None, alias='usageLogsIntervals')
195
195
  projectinactivitydays: float = Field(..., alias='projectInactivityDays')
@@ -213,10 +213,10 @@ class BillingPlan(AppwriteModel):
213
213
  supportsfreeemailvalidation: bool = Field(..., alias='supportsFreeEmailValidation')
214
214
  supportscorporateemailvalidation: bool = Field(..., alias='supportsCorporateEmailValidation')
215
215
  supportsprojectspecificroles: bool = Field(..., alias='supportsProjectSpecificRoles')
216
- backupsenabled: bool = Field(..., alias='backupsEnabled')
216
+ backupsenabled: Optional[bool] = Field(default=None, alias='backupsEnabled')
217
217
  usageperproject: bool = Field(..., alias='usagePerProject')
218
218
  supportedaddons: BillingPlanSupportedAddons = Field(..., alias='supportedAddons')
219
- backuppolicies: float = Field(..., alias='backupPolicies')
219
+ backuppolicies: Optional[float] = Field(default=None, alias='backupPolicies')
220
220
  deploymentsize: float = Field(..., alias='deploymentSize')
221
221
  buildsize: float = Field(..., alias='buildSize')
222
222
  databasesallowencrypt: bool = Field(..., alias='databasesAllowEncrypt')
@@ -10,10 +10,10 @@ class BillingPlanAddon(AppwriteModel):
10
10
 
11
11
  Attributes
12
12
  ----------
13
- seats : BillingPlanAddonDetails
13
+ seats : Optional[BillingPlanAddonDetails]
14
14
  Addon seats
15
- projects : BillingPlanAddonDetails
15
+ projects : Optional[BillingPlanAddonDetails]
16
16
  Addon projects
17
17
  """
18
- seats: BillingPlanAddonDetails = Field(..., alias='seats')
19
- projects: BillingPlanAddonDetails = Field(..., alias='projects')
18
+ seats: Optional[BillingPlanAddonDetails] = Field(default=None, alias='seats')
19
+ projects: Optional[BillingPlanAddonDetails] = Field(default=None, alias='projects')
@@ -17,7 +17,7 @@ class BillingPlanAddonDetails(AppwriteModel):
17
17
  Addon limit
18
18
  type : str
19
19
  Addon type
20
- currency : str
20
+ currency : Optional[str]
21
21
  Price currency
22
22
  price : float
23
23
  Price
@@ -30,7 +30,7 @@ class BillingPlanAddonDetails(AppwriteModel):
30
30
  planincluded: float = Field(..., alias='planIncluded')
31
31
  limit: float = Field(..., alias='limit')
32
32
  type: str = Field(..., alias='type')
33
- currency: str = Field(..., alias='currency')
33
+ currency: Optional[str] = Field(default=None, alias='currency')
34
34
  price: float = Field(..., alias='price')
35
35
  value: float = Field(..., alias='value')
36
36
  invoicedesc: str = Field(..., alias='invoiceDesc')
@@ -28,7 +28,7 @@ class Database(AppwriteModel):
28
28
  status : Optional[DatabaseStatus]
29
29
  Dedicated database lifecycle status. Null when the database has no valid dedicated backing.
30
30
  engine : Optional[str]
31
- Underlying engine of the dedicated backing: postgresql, mysql, mariadb, or mongodb. A managed product (tablesdb, documentsdb, vectorsdb) reports the engine it runs on, so its type and engine can differ. Null when the database has no dedicated backing.
31
+ Underlying engine of the dedicated backing: postgresql, mysql, or mongodb. A managed product (tablesdb, documentsdb, vectorsdb) reports the engine it runs on, so its type and engine can differ. Null when the database has no dedicated backing.
32
32
  specification : Optional[str]
33
33
  Compute specification identifier of the dedicated backing, e.g. s-2vcpu-2gb. Null when the database has no dedicated backing.
34
34
  replicas : Optional[float]
@@ -0,0 +1,60 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr
3
+
4
+ from .base_model import AppwriteModel
5
+
6
+ class DatabaseMigration(AppwriteModel):
7
+ """
8
+ Database Migration
9
+
10
+ Attributes
11
+ ----------
12
+ id : str
13
+ Database migration ID.
14
+ createdat : str
15
+ Migration creation time in ISO 8601 format.
16
+ updatedat : str
17
+ Migration update time in ISO 8601 format.
18
+ projectid : str
19
+ Project ID that owns the migrating database.
20
+ databaseid : str
21
+ Logical database ID being migrated.
22
+ specification : str
23
+ Dedicated compute specification provisioned for the migration target.
24
+ phase : str
25
+ Migration phase. Possible values: pending, provisioned, capturing, backfilling, catching_up, verifying, ready_to_cutover, cutover, soaking, done, failed, rolled_back.
26
+ attempt : float
27
+ Number of times a migration step has failed and been recorded.
28
+ lasterror : str
29
+ Reason the most recent migration step failed, empty while none has.
30
+ lagdocuments : float
31
+ Number of documents still pending replication to the target.
32
+ verifiedat : str
33
+ Time the migrated data was verified against the source in ISO 8601 format.
34
+ cutoverat : str
35
+ Time routing was flipped to the target in ISO 8601 format.
36
+ soakuntil : str
37
+ Time the post-cutover soak window ends in ISO 8601 format.
38
+ autocutover : bool
39
+ Whether the migration cuts over automatically once ready. Set when the migration is created and never changed afterwards, so it always reports what was asked for.
40
+ cutoverrequested : bool
41
+ Whether a cutover has been requested and not yet attempted. Set by the cutover endpoint and cleared when the attempt is made, so a cutover that fails a check parks the migration again rather than retrying on its own.
42
+ paused : bool
43
+ Whether the migration is paused.
44
+ """
45
+ id: str = Field(..., alias='$id')
46
+ createdat: str = Field(..., alias='$createdAt')
47
+ updatedat: str = Field(..., alias='$updatedAt')
48
+ projectid: str = Field(..., alias='projectId')
49
+ databaseid: str = Field(..., alias='databaseId')
50
+ specification: str = Field(..., alias='specification')
51
+ phase: str = Field(..., alias='phase')
52
+ attempt: float = Field(..., alias='attempt')
53
+ lasterror: str = Field(..., alias='lastError')
54
+ lagdocuments: float = Field(..., alias='lagDocuments')
55
+ verifiedat: str = Field(..., alias='verifiedAt')
56
+ cutoverat: str = Field(..., alias='cutoverAt')
57
+ soakuntil: str = Field(..., alias='soakUntil')
58
+ autocutover: bool = Field(..., alias='autoCutover')
59
+ cutoverrequested: bool = Field(..., alias='cutoverRequested')
60
+ paused: bool = Field(..., alias='paused')
@@ -0,0 +1,19 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr
3
+
4
+ from .base_model import AppwriteModel
5
+ from .database_migration import DatabaseMigration
6
+
7
+ class DatabaseMigrationList(AppwriteModel):
8
+ """
9
+ Database Migrations List
10
+
11
+ Attributes
12
+ ----------
13
+ total : float
14
+ Total number of migrations that matched your query.
15
+ migrations : List[DatabaseMigration]
16
+ List of migrations.
17
+ """
18
+ total: float = Field(..., alias='total')
19
+ migrations: List[DatabaseMigration] = Field(..., alias='migrations')
@@ -0,0 +1,57 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr
3
+
4
+ from .base_model import AppwriteModel
5
+ from .database_status_connections import DatabaseStatusConnections
6
+ from .database_status_replica import DatabaseStatusReplica
7
+ from .database_status_volume import DatabaseStatusVolume
8
+
9
+ class DatabaseStatus(AppwriteModel):
10
+ """
11
+ Status
12
+
13
+ Attributes
14
+ ----------
15
+ health : str
16
+ Overall health status: healthy, degraded, unhealthy, or unknown when nothing could be measured.
17
+ ready : bool
18
+ Whether the database is ready to accept connections.
19
+ engine : str
20
+ Database engine: postgresql, mysql, or mongodb.
21
+ version : str
22
+ Database engine version.
23
+ uptime : float
24
+ Database uptime in seconds.
25
+ connections : DatabaseStatusConnections
26
+ Connection statistics.
27
+ syncmode : str
28
+ Requested replication sync mode. Possible values: async, sync, quorum. Compare with effectiveSyncMode for what the primary is enforcing.
29
+ effectivesyncmode : Optional[str]
30
+ Replication sync mode the primary is actually enforcing. Null when high availability is disabled or the state could not be read.
31
+ syncdegraded : bool
32
+ Whether the enforced replication is weaker than the requested syncMode.
33
+ syncacknowledgements : float
34
+ Number of standby acknowledgements the primary waits for before a write is committed.
35
+ syncstandbycount : float
36
+ Number of standbys registered with the primary for synchronous replication.
37
+ syncstateconfirmed : Optional[bool]
38
+ Whether the other sync fields are an engine reading rather than a recorded estimate. True when the primary answered what it is enforcing, including when that answer contradicted the record, in which case the contradicted values are replaced by the ones the engine reports. False when the reading could not be taken: the probe did not answer, there was no engine to ask, or the values describe a configuration change just applied rather than anything measured. Absent when no engine was asked at all, so an unprobed database is distinguishable from an unconfirmed one. False never means a standby was found lagging, because it is the absence of a reading rather than a negative one, so draw no conclusion about replication health from it or from a response that omits it.
39
+ replicas : List[DatabaseStatusReplica]
40
+ List of database replicas and their status. Every configured member appears, including one the backend has not brought up, which is reported as not healthy.
41
+ volumes : List[DatabaseStatusVolume]
42
+ Storage volume information.
43
+ """
44
+ health: str = Field(..., alias='health')
45
+ ready: bool = Field(..., alias='ready')
46
+ engine: str = Field(..., alias='engine')
47
+ version: str = Field(..., alias='version')
48
+ uptime: float = Field(..., alias='uptime')
49
+ connections: DatabaseStatusConnections = Field(..., alias='connections')
50
+ syncmode: str = Field(..., alias='syncMode')
51
+ effectivesyncmode: Optional[str] = Field(default=None, alias='effectiveSyncMode')
52
+ syncdegraded: bool = Field(..., alias='syncDegraded')
53
+ syncacknowledgements: float = Field(..., alias='syncAcknowledgements')
54
+ syncstandbycount: float = Field(..., alias='syncStandbyCount')
55
+ syncstateconfirmed: Optional[bool] = Field(default=None, alias='syncStateConfirmed')
56
+ replicas: List[DatabaseStatusReplica] = Field(..., alias='replicas')
57
+ volumes: List[DatabaseStatusVolume] = Field(..., alias='volumes')
@@ -12,7 +12,7 @@ class DatabaseStatusConnections(AppwriteModel):
12
12
  current : float
13
13
  Current number of active connections.
14
14
  max : float
15
- Maximum allowed connections.
15
+ The engine&#039;s own max_connections. On a pooled database this is the backend limit the pooler multiplexes onto, not the ceiling a client pool may reach — that is networkMaxConnections on the database resource.
16
16
  """
17
17
  current: float = Field(..., alias='current')
18
18
  max: float = Field(..., alias='max')
@@ -10,9 +10,9 @@ class DatabaseStatusReplica(AppwriteModel):
10
10
  Attributes
11
11
  ----------
12
12
  index : float
13
- StatefulSet pod index (0 = primary, 1+ = replicas).
13
+ Member index within the database. Read `role` for which member accepts writes: a failover moves the primary without renumbering the indexes.
14
14
  role : str
15
- Replica role: primary or replica.
15
+ Member role. Possible values: primary (accepts reads and writes), replica (read-only follower), unknown (placement not established; reported while a transition is moving or restarting the topology, so no member can be named the write target).
16
16
  healthy : bool
17
17
  Whether the replica is healthy.
18
18
  lagseconds : Optional[float]
@@ -22,7 +22,7 @@ class DedicatedDatabase(AppwriteModel):
22
22
  api : str
23
23
  Product API that owns this database: tablesdb, documentsdb, vectorsdb, mysql, postgresql, or mongodb.
24
24
  engine : str
25
- Database engine: postgresql, mysql, mariadb, or mongodb.
25
+ Database engine: postgresql, mysql, or mongodb. Null until the backing reports one.
26
26
  version : str
27
27
  Database engine version.
28
28
  specification : str
@@ -32,7 +32,7 @@ class DedicatedDatabase(AppwriteModel):
32
32
  hostname : str
33
33
  Database hostname for connections.
34
34
  connectionport : float
35
- Database port for connections.
35
+ Database port for connections. Derived from the engine when the backing has not reported one yet.
36
36
  connectionuser : str
37
37
  Database username for connections.
38
38
  connectionpassword : str
@@ -69,10 +69,8 @@ class DedicatedDatabase(AppwriteModel):
69
69
  Number of high availability replicas. High availability is enabled when greater than 0.
70
70
  syncmode : str
71
71
  Replication sync mode: async, sync, or quorum.
72
- crossregionreplicas : float
73
- Number of cross-region replicas. Cross-region availability is enabled when greater than 0.
74
72
  networkmaxconnections : float
75
- Maximum concurrent connections.
73
+ Maximum concurrent client connections. This is the limit a client pool may reach; the engine&#039;s own max_connections reported by the status endpoint is a smaller backend limit the pooler multiplexes onto and does not constrain a client pool.
76
74
  networkidletimeoutseconds : float
77
75
  Connection idle timeout in seconds.
78
76
  networkipallowlist : List[Any]
@@ -138,7 +136,6 @@ class DedicatedDatabase(AppwriteModel):
138
136
  nodepool: str = Field(..., alias='nodePool')
139
137
  replicas: float = Field(..., alias='replicas')
140
138
  syncmode: str = Field(..., alias='syncMode')
141
- crossregionreplicas: float = Field(..., alias='crossRegionReplicas')
142
139
  networkmaxconnections: float = Field(..., alias='networkMaxConnections')
143
140
  networkidletimeoutseconds: float = Field(..., alias='networkIdleTimeoutSeconds')
144
141
  networkipallowlist: List[Any] = Field(..., alias='networkIPAllowlist')
@@ -0,0 +1,24 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr
3
+
4
+ from .base_model import AppwriteModel
5
+
6
+ class DedicatedDatabaseMember(AppwriteModel):
7
+ """
8
+ Member
9
+
10
+ Attributes
11
+ ----------
12
+ id : str
13
+ Member identifier.
14
+ role : str
15
+ Member role. Possible values: primary (accepts reads and writes), replica (read-only follower), unknown (placement not established; reported while a transition is moving or restarting the topology and this member has not been probed, so no member can be named the write target).
16
+ status : str
17
+ Member pod status. Possible values: pending (configured but absent from the backend topology, so nothing is bringing it up), provisioning (pod missing or Pending), starting (Running but not Ready), active (Running and Ready), failed (Failed phase or CrashLoopBackOff container), or the lowercased pod phase reported by the cluster.
18
+ lagseconds : Optional[float]
19
+ Replication lag in seconds. Null when the lag is not known: a primary has none to report, and a member the backend has not probed has none yet.
20
+ """
21
+ id: str = Field(..., alias='$id')
22
+ role: str = Field(..., alias='role')
23
+ status: str = Field(..., alias='status')
24
+ lagseconds: Optional[float] = Field(default=None, alias='lagSeconds')
@@ -0,0 +1,45 @@
1
+ from typing import Any, Dict, List, Optional, Union, cast
2
+ from pydantic import Field, PrivateAttr
3
+
4
+ from .base_model import AppwriteModel
5
+
6
+ class DedicatedDatabaseOperation(AppwriteModel):
7
+ """
8
+ Operation
9
+
10
+ Attributes
11
+ ----------
12
+ id : str
13
+ Operation ID.
14
+ createdat : str
15
+ Operation creation time in ISO 8601 format.
16
+ databaseid : str
17
+ Database ID the operation ran against.
18
+ type : str
19
+ Operation type, such as provision, update, restore, pausing, resuming, failover, backup-create or cross-region-enable.
20
+ status : str
21
+ Operation status. Possible values: running (in progress), completed (finished successfully), failed (ended in an error).
22
+ attempts : float
23
+ Number of times this operation has been attempted.
24
+ requestedat : Optional[str]
25
+ Time the operation was requested, in ISO 8601 format.
26
+ startedat : Optional[str]
27
+ Time the operation started, in ISO 8601 format.
28
+ completedat : Optional[str]
29
+ Time the operation reached a terminal state, in ISO 8601 format.
30
+ errorcode : str
31
+ Machine-readable failure code. `Interrupted` marks an attempt that ended before its outcome could be confirmed.
32
+ errormessage : str
33
+ Failure message if the operation failed.
34
+ """
35
+ id: str = Field(..., alias='$id')
36
+ createdat: str = Field(..., alias='$createdAt')
37
+ databaseid: str = Field(..., alias='databaseId')
38
+ type: str = Field(..., alias='type')
39
+ status: str = Field(..., alias='status')
40
+ attempts: float = Field(..., alias='attempts')
41
+ requestedat: Optional[str] = Field(default=None, alias='requestedAt')
42
+ startedat: Optional[str] = Field(default=None, alias='startedAt')
43
+ completedat: Optional[str] = Field(default=None, alias='completedAt')
44
+ errorcode: str = Field(..., alias='errorCode')
45
+ errormessage: str = Field(..., alias='errorMessage')