pipedream 2.1.4__tar.gz → 2.1.6__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 (241) hide show
  1. {pipedream-2.1.4 → pipedream-2.1.6}/PKG-INFO +1 -1
  2. {pipedream-2.1.4 → pipedream-2.1.6}/pyproject.toml +1 -1
  3. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/apps/client.py +10 -42
  4. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/apps/raw_client.py +10 -36
  5. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/core/client_wrapper.py +2 -2
  6. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/errors/__init__.py +1 -19
  7. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/__init__.py +0 -3
  8. pipedream-2.1.4/src/pipedream/errors/bad_gateway_error.py +0 -11
  9. pipedream-2.1.4/src/pipedream/errors/forbidden_error.py +0 -11
  10. pipedream-2.1.4/src/pipedream/errors/gateway_timeout_error.py +0 -11
  11. pipedream-2.1.4/src/pipedream/errors/unauthorized_error.py +0 -11
  12. pipedream-2.1.4/src/pipedream/types/connect_error.py +0 -23
  13. {pipedream-2.1.4 → pipedream-2.1.6}/LICENSE +0 -0
  14. {pipedream-2.1.4 → pipedream-2.1.6}/README.md +0 -0
  15. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/__init__.py +0 -0
  16. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/_default_clients.py +0 -0
  17. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/accounts/__init__.py +0 -0
  18. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/accounts/client.py +0 -0
  19. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/accounts/raw_client.py +0 -0
  20. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/actions/__init__.py +0 -0
  21. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/actions/client.py +0 -0
  22. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/actions/raw_client.py +0 -0
  23. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/actions/types/__init__.py +0 -0
  24. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/actions/types/actions_list_request_registry.py +0 -0
  25. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/app_categories/__init__.py +0 -0
  26. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/app_categories/client.py +0 -0
  27. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/app_categories/raw_client.py +0 -0
  28. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/apps/__init__.py +0 -0
  29. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/apps/types/__init__.py +0 -0
  30. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/apps/types/apps_list_request_sort_direction.py +0 -0
  31. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/apps/types/apps_list_request_sort_key.py +0 -0
  32. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/client.py +0 -0
  33. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/components/__init__.py +0 -0
  34. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/components/client.py +0 -0
  35. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/components/raw_client.py +0 -0
  36. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/components/types/__init__.py +0 -0
  37. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/components/types/components_list_request_registry.py +0 -0
  38. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/core/__init__.py +0 -0
  39. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/core/api_error.py +0 -0
  40. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/core/datetime_utils.py +0 -0
  41. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/core/file.py +0 -0
  42. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/core/force_multipart.py +0 -0
  43. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/core/http_client.py +0 -0
  44. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/core/http_response.py +0 -0
  45. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/core/http_sse/__init__.py +0 -0
  46. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/core/http_sse/_api.py +0 -0
  47. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/core/http_sse/_decoders.py +0 -0
  48. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/core/http_sse/_exceptions.py +0 -0
  49. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/core/http_sse/_models.py +0 -0
  50. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/core/jsonable_encoder.py +0 -0
  51. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/core/logging.py +0 -0
  52. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/core/oauth_token_provider.py +0 -0
  53. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/core/pagination.py +0 -0
  54. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/core/parse_error.py +0 -0
  55. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/core/pydantic_utilities.py +0 -0
  56. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/core/query_encoder.py +0 -0
  57. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/core/remove_none_from_dict.py +0 -0
  58. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/core/request_options.py +0 -0
  59. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/core/serialization.py +0 -0
  60. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/deployed_triggers/__init__.py +0 -0
  61. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/deployed_triggers/client.py +0 -0
  62. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/deployed_triggers/raw_client.py +0 -0
  63. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/environment.py +0 -0
  64. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/errors/bad_request_error.py +0 -0
  65. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/errors/not_found_error.py +0 -0
  66. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/errors/not_implemented_error.py +0 -0
  67. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/errors/service_unavailable_error.py +0 -0
  68. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/errors/too_many_requests_error.py +0 -0
  69. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/file_stash/__init__.py +0 -0
  70. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/file_stash/client.py +0 -0
  71. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/file_stash/raw_client.py +0 -0
  72. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/oauth_tokens/__init__.py +0 -0
  73. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/oauth_tokens/client.py +0 -0
  74. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/oauth_tokens/raw_client.py +0 -0
  75. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/pipedream.py +0 -0
  76. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/project_environment/__init__.py +0 -0
  77. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/project_environment/client.py +0 -0
  78. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/project_environment/raw_client.py +0 -0
  79. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/projects/__init__.py +0 -0
  80. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/projects/client.py +0 -0
  81. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/projects/raw_client.py +0 -0
  82. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/proxy/__init__.py +0 -0
  83. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/proxy/client.py +0 -0
  84. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/proxy/raw_client.py +0 -0
  85. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/py.typed +0 -0
  86. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/tokens/__init__.py +0 -0
  87. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/tokens/client.py +0 -0
  88. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/tokens/raw_client.py +0 -0
  89. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/triggers/__init__.py +0 -0
  90. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/triggers/client.py +0 -0
  91. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/triggers/raw_client.py +0 -0
  92. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/triggers/types/__init__.py +0 -0
  93. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/triggers/types/triggers_list_request_registry.py +0 -0
  94. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/account.py +0 -0
  95. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/account_credentials.py +0 -0
  96. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/account_id.py +0 -0
  97. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/app.py +0 -0
  98. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/app_auth_type.py +0 -0
  99. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/app_category.py +0 -0
  100. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/app_scope_profiles_item.py +0 -0
  101. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/app_scope_profiles_item_name.py +0 -0
  102. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/apps_page_info.py +0 -0
  103. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/backend_client_opts.py +0 -0
  104. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/client_opts.py +0 -0
  105. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/component.py +0 -0
  106. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/component_stash.py +0 -0
  107. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/component_type.py +0 -0
  108. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop.py +0 -0
  109. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_airtable_base_id.py +0 -0
  110. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_airtable_field_id.py +0 -0
  111. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_airtable_table_id.py +0 -0
  112. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_airtable_view_id.py +0 -0
  113. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_alert.py +0 -0
  114. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_alert_type.py +0 -0
  115. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_any.py +0 -0
  116. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_any_options_item.py +0 -0
  117. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_app.py +0 -0
  118. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_apphook.py +0 -0
  119. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_base.py +0 -0
  120. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_base_type.py +0 -0
  121. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_boolean.py +0 -0
  122. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_boolean_options_item.py +0 -0
  123. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_data_store.py +0 -0
  124. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_db.py +0 -0
  125. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_dir.py +0 -0
  126. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_dir_access_mode.py +0 -0
  127. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_discord_channel.py +0 -0
  128. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_discord_channel_array.py +0 -0
  129. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_http.py +0 -0
  130. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_http_request.py +0 -0
  131. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_integer.py +0 -0
  132. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_integer_array.py +0 -0
  133. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_integer_array_options_item.py +0 -0
  134. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_integer_options_item.py +0 -0
  135. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_object.py +0 -0
  136. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_object_options_item.py +0 -0
  137. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_sql.py +0 -0
  138. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_sql_auth.py +0 -0
  139. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_sql_options_item.py +0 -0
  140. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_string.py +0 -0
  141. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_string_array.py +0 -0
  142. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_string_array_options_item.py +0 -0
  143. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_string_format.py +0 -0
  144. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_string_options_item.py +0 -0
  145. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_timer.py +0 -0
  146. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_timer_default.py +0 -0
  147. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_timer_option.py +0 -0
  148. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configurable_prop_timer_static.py +0 -0
  149. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configure_prop_options.py +0 -0
  150. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configure_prop_options_item.py +0 -0
  151. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configure_prop_opts.py +0 -0
  152. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configure_prop_response.py +0 -0
  153. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configured_prop_value.py +0 -0
  154. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configured_prop_value_any.py +0 -0
  155. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configured_prop_value_app.py +0 -0
  156. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configured_prop_value_boolean.py +0 -0
  157. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configured_prop_value_integer.py +0 -0
  158. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configured_prop_value_object.py +0 -0
  159. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configured_prop_value_sql.py +0 -0
  160. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configured_prop_value_string.py +0 -0
  161. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configured_prop_value_string_array.py +0 -0
  162. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/configured_props.py +0 -0
  163. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/connect_token.py +0 -0
  164. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/connect_usage.py +0 -0
  165. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/connect_usage_response.py +0 -0
  166. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/create_o_auth_token_response.py +0 -0
  167. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/create_token_response.py +0 -0
  168. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/delete_trigger_opts.py +0 -0
  169. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/deploy_trigger_response.py +0 -0
  170. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/deployed_component.py +0 -0
  171. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/dynamic_props.py +0 -0
  172. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/emitted_event.py +0 -0
  173. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/emitter.py +0 -0
  174. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/emitter_type.py +0 -0
  175. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/error_response.py +0 -0
  176. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/external_user.py +0 -0
  177. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/get_accounts_response.py +0 -0
  178. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/get_app_category_response.py +0 -0
  179. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/get_app_response.py +0 -0
  180. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/get_apps_response.py +0 -0
  181. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/get_component_response.py +0 -0
  182. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/get_components_response.py +0 -0
  183. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/get_trigger_events_response.py +0 -0
  184. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/get_trigger_response.py +0 -0
  185. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/get_trigger_webhooks_response.py +0 -0
  186. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/get_trigger_workflows_response.py +0 -0
  187. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/get_triggers_response.py +0 -0
  188. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/get_users_response.py +0 -0
  189. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/get_webhook_response.py +0 -0
  190. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/get_webhook_with_signing_key_response.py +0 -0
  191. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/http_interface.py +0 -0
  192. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/http_request_auth.py +0 -0
  193. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/http_request_auth_type.py +0 -0
  194. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/http_request_body.py +0 -0
  195. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/http_request_body_mode.py +0 -0
  196. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/http_request_body_type.py +0 -0
  197. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/http_request_config.py +0 -0
  198. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/http_request_field.py +0 -0
  199. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/list_accounts_response.py +0 -0
  200. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/list_app_categories_response.py +0 -0
  201. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/list_apps_response.py +0 -0
  202. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/list_projects_response.py +0 -0
  203. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/list_response.py +0 -0
  204. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/observation.py +0 -0
  205. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/observation_error.py +0 -0
  206. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/page_info.py +0 -0
  207. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/project.py +0 -0
  208. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/project_environment.py +0 -0
  209. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/project_info_response.py +0 -0
  210. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/project_info_response_app.py +0 -0
  211. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/prop_option.py +0 -0
  212. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/prop_option_nested.py +0 -0
  213. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/prop_option_value.py +0 -0
  214. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/proxy_response.py +0 -0
  215. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/proxy_response_binary.py +0 -0
  216. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/reload_props_opts.py +0 -0
  217. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/reload_props_response.py +0 -0
  218. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/run_action_opts_stash_id.py +0 -0
  219. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/run_action_response.py +0 -0
  220. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/set_webhook_response.py +0 -0
  221. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/start_connect_opts.py +0 -0
  222. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/stash_id.py +0 -0
  223. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/timer_cron.py +0 -0
  224. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/timer_interface.py +0 -0
  225. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/timer_interval.py +0 -0
  226. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/too_many_requests_error_body.py +0 -0
  227. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/tool_annotations.py +0 -0
  228. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/trigger_webhook.py +0 -0
  229. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/validate_token_response.py +0 -0
  230. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/webhook.py +0 -0
  231. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/webhook_with_optional_signing_key.py +0 -0
  232. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/types/webhook_with_signing_key.py +0 -0
  233. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/usage/__init__.py +0 -0
  234. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/usage/client.py +0 -0
  235. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/usage/raw_client.py +0 -0
  236. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/users/__init__.py +0 -0
  237. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/users/client.py +0 -0
  238. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/users/raw_client.py +0 -0
  239. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/version.py +0 -0
  240. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/workflows/__init__.py +0 -0
  241. {pipedream-2.1.4 → pipedream-2.1.6}/src/pipedream/workflows/client.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pipedream
3
- Version: 2.1.4
3
+ Version: 2.1.6
4
4
  Summary:
5
5
  Requires-Python: >=3.10,<4.0
6
6
  Classifier: Intended Audience :: Developers
@@ -4,7 +4,7 @@ dynamic = ["version"]
4
4
 
5
5
  [tool.poetry]
6
6
  name = "pipedream"
7
- version = "2.1.4"
7
+ version = "2.1.6"
8
8
  description = ""
9
9
  readme = "README.md"
10
10
  authors = []
@@ -163,7 +163,6 @@ class AppsClient:
163
163
 
164
164
  def index(
165
165
  self,
166
- project_id: str,
167
166
  *,
168
167
  q: typing.Optional[str] = None,
169
168
  limit: typing.Optional[int] = None,
@@ -179,9 +178,6 @@ class AppsClient:
179
178
  """
180
179
  Parameters
181
180
  ----------
182
- project_id : str
183
- Project ID (proj_...)
184
-
185
181
  q : typing.Optional[str]
186
182
 
187
183
  limit : typing.Optional[int]
@@ -226,7 +222,6 @@ class AppsClient:
226
222
  client_secret="YOUR_CLIENT_SECRET",
227
223
  )
228
224
  client.apps.index(
229
- project_id="project_id",
230
225
  q="q",
231
226
  limit=1000000,
232
227
  page=1000000,
@@ -239,7 +234,6 @@ class AppsClient:
239
234
  )
240
235
  """
241
236
  _response = self._raw_client.index(
242
- project_id,
243
237
  q=q,
244
238
  limit=limit,
245
239
  page=page,
@@ -253,16 +247,13 @@ class AppsClient:
253
247
  )
254
248
  return _response.data
255
249
 
256
- def facets(self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> typing.Any:
250
+ def facets(self, *, request_options: typing.Optional[RequestOptions] = None) -> typing.Any:
257
251
  """
258
252
  Mirrors `V1::AppsController#v2_facets` (`AppTypesenseSearch.facets`):
259
253
  returns `{ data: { category_name: [...], auth_type: [...] } }`.
260
254
 
261
255
  Parameters
262
256
  ----------
263
- project_id : str
264
- Project ID (proj_...)
265
-
266
257
  request_options : typing.Optional[RequestOptions]
267
258
  Request-specific configuration.
268
259
 
@@ -280,14 +271,12 @@ class AppsClient:
280
271
  client_id="YOUR_CLIENT_ID",
281
272
  client_secret="YOUR_CLIENT_SECRET",
282
273
  )
283
- client.apps.facets(
284
- project_id="project_id",
285
- )
274
+ client.apps.facets()
286
275
  """
287
- _response = self._raw_client.facets(project_id, request_options=request_options)
276
+ _response = self._raw_client.facets(request_options=request_options)
288
277
  return _response.data
289
278
 
290
- def show(self, project_id: str, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> typing.Any:
279
+ def show(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> typing.Any:
291
280
  """
292
281
  Looks up a single app by hashid (e.g. `app_abc123`) or name_slug (e.g. `github`).
293
282
  If the value starts with `app_` it is treated as a hashid and matched against
@@ -295,9 +284,6 @@ class AppsClient:
295
284
 
296
285
  Parameters
297
286
  ----------
298
- project_id : str
299
- Project ID (proj_...)
300
-
301
287
  id : str
302
288
  App hashid (app_...) or name slug (e.g. github)
303
289
 
@@ -319,11 +305,10 @@ class AppsClient:
319
305
  client_secret="YOUR_CLIENT_SECRET",
320
306
  )
321
307
  client.apps.show(
322
- project_id="project_id",
323
308
  id="id",
324
309
  )
325
310
  """
326
- _response = self._raw_client.show(project_id, id, request_options=request_options)
311
+ _response = self._raw_client.show(id, request_options=request_options)
327
312
  return _response.data
328
313
 
329
314
 
@@ -493,7 +478,6 @@ class AsyncAppsClient:
493
478
 
494
479
  async def index(
495
480
  self,
496
- project_id: str,
497
481
  *,
498
482
  q: typing.Optional[str] = None,
499
483
  limit: typing.Optional[int] = None,
@@ -509,9 +493,6 @@ class AsyncAppsClient:
509
493
  """
510
494
  Parameters
511
495
  ----------
512
- project_id : str
513
- Project ID (proj_...)
514
-
515
496
  q : typing.Optional[str]
516
497
 
517
498
  limit : typing.Optional[int]
@@ -561,7 +542,6 @@ class AsyncAppsClient:
561
542
 
562
543
  async def main() -> None:
563
544
  await client.apps.index(
564
- project_id="project_id",
565
545
  q="q",
566
546
  limit=1000000,
567
547
  page=1000000,
@@ -577,7 +557,6 @@ class AsyncAppsClient:
577
557
  asyncio.run(main())
578
558
  """
579
559
  _response = await self._raw_client.index(
580
- project_id,
581
560
  q=q,
582
561
  limit=limit,
583
562
  page=page,
@@ -591,16 +570,13 @@ class AsyncAppsClient:
591
570
  )
592
571
  return _response.data
593
572
 
594
- async def facets(self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> typing.Any:
573
+ async def facets(self, *, request_options: typing.Optional[RequestOptions] = None) -> typing.Any:
595
574
  """
596
575
  Mirrors `V1::AppsController#v2_facets` (`AppTypesenseSearch.facets`):
597
576
  returns `{ data: { category_name: [...], auth_type: [...] } }`.
598
577
 
599
578
  Parameters
600
579
  ----------
601
- project_id : str
602
- Project ID (proj_...)
603
-
604
580
  request_options : typing.Optional[RequestOptions]
605
581
  Request-specific configuration.
606
582
 
@@ -623,19 +599,15 @@ class AsyncAppsClient:
623
599
 
624
600
 
625
601
  async def main() -> None:
626
- await client.apps.facets(
627
- project_id="project_id",
628
- )
602
+ await client.apps.facets()
629
603
 
630
604
 
631
605
  asyncio.run(main())
632
606
  """
633
- _response = await self._raw_client.facets(project_id, request_options=request_options)
607
+ _response = await self._raw_client.facets(request_options=request_options)
634
608
  return _response.data
635
609
 
636
- async def show(
637
- self, project_id: str, id: str, *, request_options: typing.Optional[RequestOptions] = None
638
- ) -> typing.Any:
610
+ async def show(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> typing.Any:
639
611
  """
640
612
  Looks up a single app by hashid (e.g. `app_abc123`) or name_slug (e.g. `github`).
641
613
  If the value starts with `app_` it is treated as a hashid and matched against
@@ -643,9 +615,6 @@ class AsyncAppsClient:
643
615
 
644
616
  Parameters
645
617
  ----------
646
- project_id : str
647
- Project ID (proj_...)
648
-
649
618
  id : str
650
619
  App hashid (app_...) or name slug (e.g. github)
651
620
 
@@ -672,12 +641,11 @@ class AsyncAppsClient:
672
641
 
673
642
  async def main() -> None:
674
643
  await client.apps.show(
675
- project_id="project_id",
676
644
  id="id",
677
645
  )
678
646
 
679
647
 
680
648
  asyncio.run(main())
681
649
  """
682
- _response = await self._raw_client.show(project_id, id, request_options=request_options)
650
+ _response = await self._raw_client.show(id, request_options=request_options)
683
651
  return _response.data
@@ -186,7 +186,6 @@ class RawAppsClient:
186
186
 
187
187
  def index(
188
188
  self,
189
- project_id: str,
190
189
  *,
191
190
  q: typing.Optional[str] = None,
192
191
  limit: typing.Optional[int] = None,
@@ -202,9 +201,6 @@ class RawAppsClient:
202
201
  """
203
202
  Parameters
204
203
  ----------
205
- project_id : str
206
- Project ID (proj_...)
207
-
208
204
  q : typing.Optional[str]
209
205
 
210
206
  limit : typing.Optional[int]
@@ -240,7 +236,7 @@ class RawAppsClient:
240
236
  Paginated list of apps
241
237
  """
242
238
  _response = self._client_wrapper.httpx_client.request(
243
- f"v2/connect/{encode_path_param(project_id)}/apps",
239
+ f"v2/connect/{encode_path_param(self._client_wrapper._project_id)}/apps",
244
240
  method="GET",
245
241
  params={
246
242
  "q": q,
@@ -296,18 +292,13 @@ class RawAppsClient:
296
292
  )
297
293
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
298
294
 
299
- def facets(
300
- self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None
301
- ) -> HttpResponse[typing.Any]:
295
+ def facets(self, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[typing.Any]:
302
296
  """
303
297
  Mirrors `V1::AppsController#v2_facets` (`AppTypesenseSearch.facets`):
304
298
  returns `{ data: { category_name: [...], auth_type: [...] } }`.
305
299
 
306
300
  Parameters
307
301
  ----------
308
- project_id : str
309
- Project ID (proj_...)
310
-
311
302
  request_options : typing.Optional[RequestOptions]
312
303
  Request-specific configuration.
313
304
 
@@ -317,7 +308,7 @@ class RawAppsClient:
317
308
  Facet values keyed by field under `data`
318
309
  """
319
310
  _response = self._client_wrapper.httpx_client.request(
320
- f"v2/connect/{encode_path_param(project_id)}/apps/facets",
311
+ f"v2/connect/{encode_path_param(self._client_wrapper._project_id)}/apps/facets",
321
312
  method="GET",
322
313
  request_options=request_options,
323
314
  )
@@ -353,9 +344,7 @@ class RawAppsClient:
353
344
  )
354
345
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
355
346
 
356
- def show(
357
- self, project_id: str, id: str, *, request_options: typing.Optional[RequestOptions] = None
358
- ) -> HttpResponse[typing.Any]:
347
+ def show(self, id: str, *, request_options: typing.Optional[RequestOptions] = None) -> HttpResponse[typing.Any]:
359
348
  """
360
349
  Looks up a single app by hashid (e.g. `app_abc123`) or name_slug (e.g. `github`).
361
350
  If the value starts with `app_` it is treated as a hashid and matched against
@@ -363,9 +352,6 @@ class RawAppsClient:
363
352
 
364
353
  Parameters
365
354
  ----------
366
- project_id : str
367
- Project ID (proj_...)
368
-
369
355
  id : str
370
356
  App hashid (app_...) or name slug (e.g. github)
371
357
 
@@ -378,7 +364,7 @@ class RawAppsClient:
378
364
  The app, under `data`
379
365
  """
380
366
  _response = self._client_wrapper.httpx_client.request(
381
- f"v2/connect/{encode_path_param(project_id)}/apps/{encode_path_param(id)}",
367
+ f"v2/connect/{encode_path_param(self._client_wrapper._project_id)}/apps/{encode_path_param(id)}",
382
368
  method="GET",
383
369
  request_options=request_options,
384
370
  )
@@ -591,7 +577,6 @@ class AsyncRawAppsClient:
591
577
 
592
578
  async def index(
593
579
  self,
594
- project_id: str,
595
580
  *,
596
581
  q: typing.Optional[str] = None,
597
582
  limit: typing.Optional[int] = None,
@@ -607,9 +592,6 @@ class AsyncRawAppsClient:
607
592
  """
608
593
  Parameters
609
594
  ----------
610
- project_id : str
611
- Project ID (proj_...)
612
-
613
595
  q : typing.Optional[str]
614
596
 
615
597
  limit : typing.Optional[int]
@@ -645,7 +627,7 @@ class AsyncRawAppsClient:
645
627
  Paginated list of apps
646
628
  """
647
629
  _response = await self._client_wrapper.httpx_client.request(
648
- f"v2/connect/{encode_path_param(project_id)}/apps",
630
+ f"v2/connect/{encode_path_param(self._client_wrapper._project_id)}/apps",
649
631
  method="GET",
650
632
  params={
651
633
  "q": q,
@@ -701,18 +683,13 @@ class AsyncRawAppsClient:
701
683
  )
702
684
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
703
685
 
704
- async def facets(
705
- self, project_id: str, *, request_options: typing.Optional[RequestOptions] = None
706
- ) -> AsyncHttpResponse[typing.Any]:
686
+ async def facets(self, *, request_options: typing.Optional[RequestOptions] = None) -> AsyncHttpResponse[typing.Any]:
707
687
  """
708
688
  Mirrors `V1::AppsController#v2_facets` (`AppTypesenseSearch.facets`):
709
689
  returns `{ data: { category_name: [...], auth_type: [...] } }`.
710
690
 
711
691
  Parameters
712
692
  ----------
713
- project_id : str
714
- Project ID (proj_...)
715
-
716
693
  request_options : typing.Optional[RequestOptions]
717
694
  Request-specific configuration.
718
695
 
@@ -722,7 +699,7 @@ class AsyncRawAppsClient:
722
699
  Facet values keyed by field under `data`
723
700
  """
724
701
  _response = await self._client_wrapper.httpx_client.request(
725
- f"v2/connect/{encode_path_param(project_id)}/apps/facets",
702
+ f"v2/connect/{encode_path_param(self._client_wrapper._project_id)}/apps/facets",
726
703
  method="GET",
727
704
  request_options=request_options,
728
705
  )
@@ -759,7 +736,7 @@ class AsyncRawAppsClient:
759
736
  raise ApiError(status_code=_response.status_code, headers=dict(_response.headers), body=_response_json)
760
737
 
761
738
  async def show(
762
- self, project_id: str, id: str, *, request_options: typing.Optional[RequestOptions] = None
739
+ self, id: str, *, request_options: typing.Optional[RequestOptions] = None
763
740
  ) -> AsyncHttpResponse[typing.Any]:
764
741
  """
765
742
  Looks up a single app by hashid (e.g. `app_abc123`) or name_slug (e.g. `github`).
@@ -768,9 +745,6 @@ class AsyncRawAppsClient:
768
745
 
769
746
  Parameters
770
747
  ----------
771
- project_id : str
772
- Project ID (proj_...)
773
-
774
748
  id : str
775
749
  App hashid (app_...) or name slug (e.g. github)
776
750
 
@@ -783,7 +757,7 @@ class AsyncRawAppsClient:
783
757
  The app, under `data`
784
758
  """
785
759
  _response = await self._client_wrapper.httpx_client.request(
786
- f"v2/connect/{encode_path_param(project_id)}/apps/{encode_path_param(id)}",
760
+ f"v2/connect/{encode_path_param(self._client_wrapper._project_id)}/apps/{encode_path_param(id)}",
787
761
  method="GET",
788
762
  request_options=request_options,
789
763
  )
@@ -34,12 +34,12 @@ class BaseClientWrapper:
34
34
  import platform
35
35
 
36
36
  headers: typing.Dict[str, str] = {
37
- "User-Agent": "pipedream/2.1.4",
37
+ "User-Agent": "pipedream/2.1.6",
38
38
  "X-Fern-Language": "Python",
39
39
  "X-Fern-Runtime": f"python/{platform.python_version()}",
40
40
  "X-Fern-Platform": f"{platform.system().lower()}/{platform.release()}",
41
41
  "X-Fern-SDK-Name": "pipedream",
42
- "X-Fern-SDK-Version": "2.1.4",
42
+ "X-Fern-SDK-Version": "2.1.6",
43
43
  **(self.get_custom_headers() or {}),
44
44
  }
45
45
  if self._project_environment is not None:
@@ -6,25 +6,17 @@ import typing
6
6
  from importlib import import_module
7
7
 
8
8
  if typing.TYPE_CHECKING:
9
- from .bad_gateway_error import BadGatewayError
10
9
  from .bad_request_error import BadRequestError
11
- from .forbidden_error import ForbiddenError
12
- from .gateway_timeout_error import GatewayTimeoutError
13
10
  from .not_found_error import NotFoundError
14
11
  from .not_implemented_error import NotImplementedError
15
12
  from .service_unavailable_error import ServiceUnavailableError
16
13
  from .too_many_requests_error import TooManyRequestsError
17
- from .unauthorized_error import UnauthorizedError
18
14
  _dynamic_imports: typing.Dict[str, str] = {
19
- "BadGatewayError": ".bad_gateway_error",
20
15
  "BadRequestError": ".bad_request_error",
21
- "ForbiddenError": ".forbidden_error",
22
- "GatewayTimeoutError": ".gateway_timeout_error",
23
16
  "NotFoundError": ".not_found_error",
24
17
  "NotImplementedError": ".not_implemented_error",
25
18
  "ServiceUnavailableError": ".service_unavailable_error",
26
19
  "TooManyRequestsError": ".too_many_requests_error",
27
- "UnauthorizedError": ".unauthorized_error",
28
20
  }
29
21
 
30
22
 
@@ -49,14 +41,4 @@ def __dir__():
49
41
  return sorted(lazy_attrs)
50
42
 
51
43
 
52
- __all__ = [
53
- "BadGatewayError",
54
- "BadRequestError",
55
- "ForbiddenError",
56
- "GatewayTimeoutError",
57
- "NotFoundError",
58
- "NotImplementedError",
59
- "ServiceUnavailableError",
60
- "TooManyRequestsError",
61
- "UnauthorizedError",
62
- ]
44
+ __all__ = ["BadRequestError", "NotFoundError", "NotImplementedError", "ServiceUnavailableError", "TooManyRequestsError"]
@@ -75,7 +75,6 @@ if typing.TYPE_CHECKING:
75
75
  from .configured_prop_value_string import ConfiguredPropValueString
76
76
  from .configured_prop_value_string_array import ConfiguredPropValueStringArray
77
77
  from .configured_props import ConfiguredProps
78
- from .connect_error import ConnectError
79
78
  from .connect_token import ConnectToken
80
79
  from .connect_usage import ConnectUsage
81
80
  from .connect_usage_response import ConnectUsageResponse
@@ -216,7 +215,6 @@ _dynamic_imports: typing.Dict[str, str] = {
216
215
  "ConfiguredPropValueString": ".configured_prop_value_string",
217
216
  "ConfiguredPropValueStringArray": ".configured_prop_value_string_array",
218
217
  "ConfiguredProps": ".configured_props",
219
- "ConnectError": ".connect_error",
220
218
  "ConnectToken": ".connect_token",
221
219
  "ConnectUsage": ".connect_usage",
222
220
  "ConnectUsageResponse": ".connect_usage_response",
@@ -381,7 +379,6 @@ __all__ = [
381
379
  "ConfiguredPropValueString",
382
380
  "ConfiguredPropValueStringArray",
383
381
  "ConfiguredProps",
384
- "ConnectError",
385
382
  "ConnectToken",
386
383
  "ConnectUsage",
387
384
  "ConnectUsageResponse",
@@ -1,11 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- from ..core.api_error import ApiError
6
- from ..types.connect_error import ConnectError
7
-
8
-
9
- class BadGatewayError(ApiError):
10
- def __init__(self, body: ConnectError, headers: typing.Optional[typing.Dict[str, str]] = None):
11
- super().__init__(status_code=502, headers=headers, body=body)
@@ -1,11 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- from ..core.api_error import ApiError
6
- from ..types.connect_error import ConnectError
7
-
8
-
9
- class ForbiddenError(ApiError):
10
- def __init__(self, body: ConnectError, headers: typing.Optional[typing.Dict[str, str]] = None):
11
- super().__init__(status_code=403, headers=headers, body=body)
@@ -1,11 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- from ..core.api_error import ApiError
6
- from ..types.connect_error import ConnectError
7
-
8
-
9
- class GatewayTimeoutError(ApiError):
10
- def __init__(self, body: ConnectError, headers: typing.Optional[typing.Dict[str, str]] = None):
11
- super().__init__(status_code=504, headers=headers, body=body)
@@ -1,11 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- from ..core.api_error import ApiError
6
- from ..types.connect_error import ConnectError
7
-
8
-
9
- class UnauthorizedError(ApiError):
10
- def __init__(self, body: ConnectError, headers: typing.Optional[typing.Dict[str, str]] = None):
11
- super().__init__(status_code=401, headers=headers, body=body)
@@ -1,23 +0,0 @@
1
- # This file was auto-generated by Fern from our API Definition.
2
-
3
- import typing
4
-
5
- import pydantic
6
- from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
7
-
8
-
9
- class ConnectError(UniversalBaseModel):
10
- """
11
- The standard Connect error envelope: { "error": "<message>" }.
12
- """
13
-
14
- error: str
15
-
16
- if IS_PYDANTIC_V2:
17
- model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
18
- else:
19
-
20
- class Config:
21
- frozen = True
22
- smart_union = True
23
- extra = pydantic.Extra.allow
File without changes
File without changes