fal 0.11.2__py3-none-any.whl → 0.11.3__py3-none-any.whl
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.
Potentially problematic release.
This version of fal might be problematic. Click here for more details.
- fal/api.py +8 -12
- fal/cli.py +90 -31
- fal/rest_client.py +1 -0
- fal/sdk.py +41 -10
- fal/sync.py +3 -2
- fal/toolkit/file/file.py +6 -5
- fal/toolkit/file/providers/r2.py +83 -0
- fal/toolkit/file/types.py +1 -1
- fal/toolkit/image/image.py +2 -2
- {fal-0.11.2.dist-info → fal-0.11.3.dist-info}/METADATA +40 -3
- {fal-0.11.2.dist-info → fal-0.11.3.dist-info}/RECORD +36 -35
- openapi_fal_rest/api/admin/handle_user_lock.py +6 -2
- openapi_fal_rest/api/applications/get_status_applications_app_user_id_app_alias_or_id_status_get.py +6 -2
- openapi_fal_rest/api/billing/delete_payment_method.py +9 -3
- openapi_fal_rest/api/billing/get_setup_intent_key.py +6 -2
- openapi_fal_rest/api/billing/get_user_price.py +6 -2
- openapi_fal_rest/api/billing/get_user_spending.py +6 -2
- openapi_fal_rest/api/billing/handle_stripe_webhook.py +21 -7
- openapi_fal_rest/api/billing/upcoming_invoice.py +6 -2
- openapi_fal_rest/api/billing/update_customer_budget.py +6 -2
- openapi_fal_rest/api/files/check_dir_hash.py +9 -3
- openapi_fal_rest/api/files/delete.py +6 -2
- openapi_fal_rest/api/files/download.py +6 -2
- openapi_fal_rest/api/files/file_exists.py +6 -2
- openapi_fal_rest/api/files/upload_from_url.py +6 -2
- openapi_fal_rest/api/files/upload_local_file.py +9 -3
- openapi_fal_rest/api/keys/create_key.py +6 -2
- openapi_fal_rest/api/keys/delete_key.py +6 -2
- openapi_fal_rest/api/tokens/create_token.py +6 -2
- openapi_fal_rest/api/usage/get_gateway_request_stats_by_time.py +41 -7
- openapi_fal_rest/api/usage/per_machine_usage_details.py +3 -1
- openapi_fal_rest/models/body_upload_file.py +4 -1
- openapi_fal_rest/models/body_upload_local_file.py +4 -1
- openapi_fal_rest/models/get_gateway_request_stats_by_time_response_get_gateway_request_stats_by_time.py +15 -5
- {fal-0.11.2.dist-info → fal-0.11.3.dist-info}/WHEEL +0 -0
- {fal-0.11.2.dist-info → fal-0.11.3.dist-info}/entry_points.txt +0 -0
|
@@ -2,35 +2,35 @@ openapi_fal_rest/__init__.py,sha256=sqsyB55QptrijXTCVFQfIJ6uC__vXez1i5KNvYplk5w,
|
|
|
2
2
|
openapi_fal_rest/api/__init__.py,sha256=87ApBzKyGb5zsgTMOkQXDqsLZCmaSFoJMwbGzCDQZMw,47
|
|
3
3
|
openapi_fal_rest/api/admin/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
4
|
openapi_fal_rest/api/admin/get_usage_per_user.py,sha256=OcNSsJvq7HGifCmstRgHytY_w_g1uXzkIQr11JpIo-A,5526
|
|
5
|
-
openapi_fal_rest/api/admin/handle_user_lock.py,sha256=
|
|
5
|
+
openapi_fal_rest/api/admin/handle_user_lock.py,sha256=0wzLd5kk1mHAoFuzkh0MOujI_OkBeeSn_bLQlQZh8fc,4859
|
|
6
6
|
openapi_fal_rest/api/applications/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
openapi_fal_rest/api/applications/app_metadata.py,sha256=GqG6Q7jt8Jcyhb3ms_6i0M1B3cy205y3_A8W-AGEapY,5120
|
|
8
|
-
openapi_fal_rest/api/applications/get_status_applications_app_user_id_app_alias_or_id_status_get.py,sha256=
|
|
8
|
+
openapi_fal_rest/api/applications/get_status_applications_app_user_id_app_alias_or_id_status_get.py,sha256=a0963hkWscWX1FaAImuOEQTnOWbwakFtlSYZD3JMwAc,4794
|
|
9
9
|
openapi_fal_rest/api/billing/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
|
-
openapi_fal_rest/api/billing/delete_payment_method.py,sha256=
|
|
11
|
-
openapi_fal_rest/api/billing/get_setup_intent_key.py,sha256=
|
|
10
|
+
openapi_fal_rest/api/billing/delete_payment_method.py,sha256=2-x2GZrWGaBh_WoMC0xwEPLcv1X0Li11cDoFfHoIvz0,4435
|
|
11
|
+
openapi_fal_rest/api/billing/get_setup_intent_key.py,sha256=4gA_5au8e7SSqPvuFq8_dRxdaUezez0wibUTtewJTXw,3847
|
|
12
12
|
openapi_fal_rest/api/billing/get_user_details.py,sha256=2HQHRUQj8QwqSKgiV_USBdXCxGlfaVTBbLiPaDsMBUM,4013
|
|
13
13
|
openapi_fal_rest/api/billing/get_user_invoices.py,sha256=0gvv6QTaiEmN34b9CSFq_cXTjDTPdmbLUzV3UADEw9s,4161
|
|
14
14
|
openapi_fal_rest/api/billing/get_user_payment_methods.py,sha256=PWgy2dKIxZNI0VFMXPejQyLA1SNvrRjeCsw90TUqduA,4275
|
|
15
|
-
openapi_fal_rest/api/billing/get_user_price.py,sha256=
|
|
16
|
-
openapi_fal_rest/api/billing/get_user_spending.py,sha256=
|
|
17
|
-
openapi_fal_rest/api/billing/handle_stripe_webhook.py,sha256=
|
|
18
|
-
openapi_fal_rest/api/billing/upcoming_invoice.py,sha256=
|
|
19
|
-
openapi_fal_rest/api/billing/update_customer_budget.py,sha256
|
|
15
|
+
openapi_fal_rest/api/billing/get_user_price.py,sha256=QN9xNIGdfgxcGWK331Rn23z0jzUjyEzrRHE1-U7z4lg,4964
|
|
16
|
+
openapi_fal_rest/api/billing/get_user_spending.py,sha256=Zy6OqZfHYGyD6F1n9FoIHQI0plBfr7duJr7XlKXrCWA,5742
|
|
17
|
+
openapi_fal_rest/api/billing/handle_stripe_webhook.py,sha256=PfsxfEtJsyurYP6dSrGKEEoz7f-pLd1qlbkh0VsaE8s,5271
|
|
18
|
+
openapi_fal_rest/api/billing/upcoming_invoice.py,sha256=UnRSCmiWjGP7ip8m4lbesC7UVVz8G1z62GKS4MbLprw,3944
|
|
19
|
+
openapi_fal_rest/api/billing/update_customer_budget.py,sha256=-tYslAHac3jsyl6D1uknvYnJyZO-bK20GBnKunuggrc,5142
|
|
20
20
|
openapi_fal_rest/api/files/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
21
|
-
openapi_fal_rest/api/files/check_dir_hash.py,sha256=
|
|
22
|
-
openapi_fal_rest/api/files/delete.py,sha256=
|
|
23
|
-
openapi_fal_rest/api/files/download.py,sha256=
|
|
24
|
-
openapi_fal_rest/api/files/file_exists.py,sha256=
|
|
21
|
+
openapi_fal_rest/api/files/check_dir_hash.py,sha256=MFQcGLsoR0ez7YwVDuJra5SKCBi7q2JZ2dg-k-nHAaw,4773
|
|
22
|
+
openapi_fal_rest/api/files/delete.py,sha256=B5-GE0j_W_QeE7K0WtWlOEK6jrhlqP0hCTx1xt04_W4,4108
|
|
23
|
+
openapi_fal_rest/api/files/download.py,sha256=KxI1nsT71vYZkcPgDU5Qe3J9SiBBXmxjcUvofqidCsM,4102
|
|
24
|
+
openapi_fal_rest/api/files/file_exists.py,sha256=xewVU3yrR3DnmaapWhIVCyYOFbuXa2fV8FKQKUIYvzk,5110
|
|
25
25
|
openapi_fal_rest/api/files/list_directory.py,sha256=xFxKuSHKoh3MJW80c2QPKuby_RFJqdI003XuuHw7B3I,4472
|
|
26
26
|
openapi_fal_rest/api/files/list_root.py,sha256=4S_UF4hNXjrFbenBHQzaDgXQ6WKjmysLqeGe3GR8xXo,4161
|
|
27
|
-
openapi_fal_rest/api/files/upload_from_url.py,sha256=
|
|
28
|
-
openapi_fal_rest/api/files/upload_local_file.py,sha256=
|
|
27
|
+
openapi_fal_rest/api/files/upload_from_url.py,sha256=EPJciVtnwKGsNXUDnnXf_yUe1Ie90ZqfFuohJB7h14w,4662
|
|
28
|
+
openapi_fal_rest/api/files/upload_local_file.py,sha256=Bbjb-iGatzbmugLt-Bmzdwqx3b8ST1sgbvfO6FKcxcU,5675
|
|
29
29
|
openapi_fal_rest/api/health/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
30
30
|
openapi_fal_rest/api/health/check.py,sha256=jX6rC1D_DVRDZqUWCb6zoE1KqQU7Yy0BeUOqfaaLPmQ,3244
|
|
31
31
|
openapi_fal_rest/api/keys/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
32
|
-
openapi_fal_rest/api/keys/create_key.py,sha256=
|
|
33
|
-
openapi_fal_rest/api/keys/delete_key.py,sha256=
|
|
32
|
+
openapi_fal_rest/api/keys/create_key.py,sha256=vMrYqJgUtvw3W02wy3tB_NlDCVVdbA_9Rkdp0x1HOD4,5108
|
|
33
|
+
openapi_fal_rest/api/keys/delete_key.py,sha256=AN3uaCZAsNLb0RXQ-oh9pJnprR1-gJuxsa_SyNJoGbE,4028
|
|
34
34
|
openapi_fal_rest/api/keys/list_keys.py,sha256=HwIf1HHNo52HURkFVNGVIfCJhbtW06iU8VHOLuc92ho,4192
|
|
35
35
|
openapi_fal_rest/api/logs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
36
36
|
openapi_fal_rest/api/logs/list_since.py,sha256=_59g5rX4fZa1YuSXI-Dg_XYldIVAPiGU-pGMbScOPio,6499
|
|
@@ -41,27 +41,27 @@ openapi_fal_rest/api/storage/get_file_link.py,sha256=Mvj5vf3XgKBRWfhP5xmzN3dgd7t
|
|
|
41
41
|
openapi_fal_rest/api/storage/initiate_upload.py,sha256=CJqfXoj0i4a9Mbs2AyNm4QD1dbEScpWftSa8Lw_lCCs,4688
|
|
42
42
|
openapi_fal_rest/api/storage/upload_file.py,sha256=e3ipo8LoOihlJDCdBTvNryMxkwb1lwDyj4Stef75gyc,4787
|
|
43
43
|
openapi_fal_rest/api/tokens/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
44
|
-
openapi_fal_rest/api/tokens/create_token.py,sha256=
|
|
44
|
+
openapi_fal_rest/api/tokens/create_token.py,sha256=dUl9NrGGyV_4TlkdZ5dJ9H0yieceVblsbnbUKT7o78I,4406
|
|
45
45
|
openapi_fal_rest/api/usage/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
46
46
|
openapi_fal_rest/api/usage/get_custom_usage_per_machine.py,sha256=okU_8B0a7xHA9ulmgl6WEoVODzz7bOlo4XhBRH6fa5M,6272
|
|
47
47
|
openapi_fal_rest/api/usage/get_gateway_request_stats.py,sha256=xOJYM0OpRyX_buZJQtXfT2CHLjCb6-yPv7OP7z7kYnk,7614
|
|
48
|
-
openapi_fal_rest/api/usage/get_gateway_request_stats_by_time.py,sha256=
|
|
48
|
+
openapi_fal_rest/api/usage/get_gateway_request_stats_by_time.py,sha256=CB9MGjWcuMWtSIjbkAqjqqpEtxxFlQdWQ3AbsWzEqok,7771
|
|
49
49
|
openapi_fal_rest/api/usage/get_shared_usage_per_app.py,sha256=tB09GnrwjH81uz-eODTiHl0qNauCR6xj3oa02WEKg4Q,6252
|
|
50
50
|
openapi_fal_rest/api/usage/get_usage_records.py,sha256=PoRYvdXwEvOYQxVhcqNIplVjPut1yo-9gFwnd47XNMw,8366
|
|
51
51
|
openapi_fal_rest/api/usage/per_machine_usage.py,sha256=MRMxYP1A-88hFPnEEI0TfCujrsJpaDAlJwue_wCaaGU,6778
|
|
52
|
-
openapi_fal_rest/api/usage/per_machine_usage_details.py,sha256=
|
|
52
|
+
openapi_fal_rest/api/usage/per_machine_usage_details.py,sha256=1trqk3c3NDfUaQvsu-qmeorflPbrSdHuB9CTNpgvM_Q,4779
|
|
53
53
|
openapi_fal_rest/client.py,sha256=G6BpJg9j7-JsrAUGddYwkzeWRYickBjPdcVgXoPzxuE,2817
|
|
54
54
|
openapi_fal_rest/errors.py,sha256=8mXSxdfSGzxT82srdhYbR0fHfgenxJXaUtMkaGgb6iU,470
|
|
55
55
|
openapi_fal_rest/models/__init__.py,sha256=6CLCG50sd_eBvivvI4GUSaApsnJM3vJQ6W8C4Eo-jO8,2931
|
|
56
56
|
openapi_fal_rest/models/app_metadata_response_app_metadata.py,sha256=swJMfWvbjlMF8dmv-KEqcR9If0UjsRogwj9UqBBlkpc,1251
|
|
57
57
|
openapi_fal_rest/models/body_create_token.py,sha256=GBiwnz4US7VqD7Y6uM4Vy4P89aymRo9etU5WJ1NNl68,1902
|
|
58
|
-
openapi_fal_rest/models/body_upload_file.py,sha256=
|
|
59
|
-
openapi_fal_rest/models/body_upload_local_file.py,sha256=
|
|
58
|
+
openapi_fal_rest/models/body_upload_file.py,sha256=QD2KgOE-YYQi3ktU94OMKua2V0NLkxLa01YdVLnty9g,1900
|
|
59
|
+
openapi_fal_rest/models/body_upload_local_file.py,sha256=xaQJwECSFSP_aQyRhGWYpSGGpDjNpn_X7Fa6gdjE0LE,2026
|
|
60
60
|
openapi_fal_rest/models/customer_details.py,sha256=kJ1_Ayf_Km00eSgQzmaf_dwCL7sr0kIa-08Y9i6bliI,2561
|
|
61
61
|
openapi_fal_rest/models/file_spec.py,sha256=cd56WUz3VbeBv-1s6YRn7blPQxGyH0SBVlAld7gIWcc,2945
|
|
62
62
|
openapi_fal_rest/models/gateway_stats_by_time.py,sha256=XcX8C9lh0vn3yEm94umaPVTZKXFUNt3afF1BErHD4mc,3572
|
|
63
63
|
openapi_fal_rest/models/gateway_usage_stats.py,sha256=OlBVAzkNwy-rtP4-KRfnGHF8eV6K3a1QCJJImhjHSoA,4989
|
|
64
|
-
openapi_fal_rest/models/get_gateway_request_stats_by_time_response_get_gateway_request_stats_by_time.py,sha256=
|
|
64
|
+
openapi_fal_rest/models/get_gateway_request_stats_by_time_response_get_gateway_request_stats_by_time.py,sha256=qIf5EVyDLG9YjxC4BWNZm3DHTiNwiq5s4_wN1nUlnKw,2590
|
|
65
65
|
openapi_fal_rest/models/grouped_usage_detail.py,sha256=S2YP_SF64mN1lvuD-jScAWKj8CQbuZUN9eBPG0QeDTo,2358
|
|
66
66
|
openapi_fal_rest/models/handle_stripe_webhook_response_handle_stripe_webhook.py,sha256=Nsw1G8WDub678G2Rl_AcOLZc6uzhQCJTSox3UFLIbq8,1340
|
|
67
67
|
openapi_fal_rest/models/hash_check.py,sha256=T9R7n4EdadCxbFUZvresZZFPYwDfyJMZVNxY6wIJEE8,1352
|
|
@@ -95,12 +95,12 @@ openapi_fal_rest/py.typed,sha256=8ZJUsxZiuOy1oJeVhsTWQhTG_6pTVHVXk5hJL79ebTk,25
|
|
|
95
95
|
openapi_fal_rest/types.py,sha256=4xaUIOliefW-5jz_p-JT2LO7-V0wKWaniHGtjPBQfvQ,993
|
|
96
96
|
fal/__init__.py,sha256=WE0JWoOFjzLVQPnj4tXRPgH1y5fZW0GLXPGEyORgAFg,1677
|
|
97
97
|
fal/_serialization.py,sha256=GD3iXh-noBr0S33eLRaaj9dupo0OclTiyYPiYIMHBuU,3695
|
|
98
|
-
fal/api.py,sha256=
|
|
98
|
+
fal/api.py,sha256=CZm-h1b1CmGTPmecHAPvL8_PZdoxhz-ykufm927Pmv4,29613
|
|
99
99
|
fal/apps.py,sha256=j8c4mR-kpRKnZ6wfcuvdgrjuAse7NGD9QR_ZRYan3m4,4121
|
|
100
100
|
fal/auth/__init__.py,sha256=IzXoOgHaWkZvE2O0JUC9CL18whq8HILFW4oTrcrCJno,2547
|
|
101
101
|
fal/auth/auth0.py,sha256=qFzCy-n9ptctIu3uj4zbx62WVdjjVw-tQSZEYga9IKY,5302
|
|
102
102
|
fal/auth/local.py,sha256=lZqp4j32l2xFpY8zYvLoIHHyJrNAJDcm5MxgsLpY_pw,1786
|
|
103
|
-
fal/cli.py,sha256=
|
|
103
|
+
fal/cli.py,sha256=D0csuZOGATUUxwiwuoHy8IVfF_9zcquJMgBhyozjB8s,17134
|
|
104
104
|
fal/console/__init__.py,sha256=ernZ4bzvvliQh5SmrEqQ7lA5eVcbw6Ra2jalKtA7dxg,132
|
|
105
105
|
fal/console/icons.py,sha256=De9MfFaSkO2Lqfne13n3PrYfTXJVIzYZVqYn5BWsdrA,108
|
|
106
106
|
fal/console/ux.py,sha256=4vj1aGA3grRn-ebeMuDLR6u3YjMwUGpqtNgdTG9su5s,485
|
|
@@ -116,22 +116,23 @@ fal/logging/isolate.py,sha256=yDW_P4aR-t53IRmvD2Iprufv1Wn-xQXoBbMB2Ufr59s,2122
|
|
|
116
116
|
fal/logging/style.py,sha256=ckIgHzvF4DShM5kQh8F133X53z_vF46snuDHVmo_h9g,386
|
|
117
117
|
fal/logging/trace.py,sha256=-_ShrBsBl9jUlGC-Lwe2r-LIkfj21SETQAhSNrWxbGs,1807
|
|
118
118
|
fal/logging/user.py,sha256=paWfeJWlzP3PE1vy7CjUip6hVBT9CKE1AzlSK27KUjA,631
|
|
119
|
-
fal/rest_client.py,sha256=
|
|
120
|
-
fal/sdk.py,sha256=
|
|
121
|
-
fal/sync.py,sha256=
|
|
119
|
+
fal/rest_client.py,sha256=JcvUGAROq0SL0CTCi6PLGeM6qN18YsZK_lU0d6EXdOI,568
|
|
120
|
+
fal/sdk.py,sha256=AXL6wWBS3hO-FNcp4mjAHkcYS_TNo8D2m7JZu4Lbz3E,17099
|
|
121
|
+
fal/sync.py,sha256=6c36Mx3CZAtSbUcjwx4eCgoKtGOTXWmle8G6zFcG35o,4277
|
|
122
122
|
fal/toolkit/__init__.py,sha256=G0KZVZ0hfBFDGYmv6Giqx_BSg5VD6thck2uH1jR2-h8,367
|
|
123
123
|
fal/toolkit/exceptions.py,sha256=--WKKYxUop6WFy_vqAPXK6uH8C-JR98gnNXwhHNCb7E,258
|
|
124
124
|
fal/toolkit/file/__init__.py,sha256=YpUU6YziZV1AMuq12L0EDWToS0sgpHSGWsARbiOEHWk,56
|
|
125
|
-
fal/toolkit/file/file.py,sha256=
|
|
125
|
+
fal/toolkit/file/file.py,sha256=0RNSJIiTDymxcQ4YnZSGNomIHJnIhO9BEmCY6RO5qGo,3408
|
|
126
126
|
fal/toolkit/file/providers/fal.py,sha256=u7GQO6UuQNKmwUzHcJePPh6t4Lef_MikW2ogPV5kP0E,2154
|
|
127
127
|
fal/toolkit/file/providers/gcp.py,sha256=Bq5SJSghXF8YfFnbZ83_mPdrWs2dFhi8ytODp92USgk,1962
|
|
128
|
-
fal/toolkit/file/
|
|
128
|
+
fal/toolkit/file/providers/r2.py,sha256=xJtZfX3cfzJgLXS3F8mHArbrHi0_QBpIMy5M4-tS8H8,2586
|
|
129
|
+
fal/toolkit/file/types.py,sha256=aQMkFialtmoWaJms-rGMiWvX9OE7DtpiT1NX84GPlZs,1102
|
|
129
130
|
fal/toolkit/image/__init__.py,sha256=liEq0CqkRqUQ1udnnyGVFBwCXUhR2f6o5ffbtbAlP8o,57
|
|
130
|
-
fal/toolkit/image/image.py,sha256=
|
|
131
|
+
fal/toolkit/image/image.py,sha256=zFCGKiGBzdlwq20ISY-olBqUDzUpQ84L5LbLepZteoo,3590
|
|
131
132
|
fal/toolkit/mainify.py,sha256=E7gE45nZQZoaJdSlIq0mqajcH-IjcuPBWFmKm5hvhAU,406
|
|
132
133
|
fal/toolkit/utils/__init__.py,sha256=b3zVpm50Upx1saXU7RiV9r9in6-Chs4OU9KRjBv7MYI,83
|
|
133
134
|
fal/toolkit/utils/download_utils.py,sha256=OlAun9phis7LJtBvVjsQC9sQ6qcZMeZ1_ebdRHm7CLw,13921
|
|
134
|
-
fal-0.11.
|
|
135
|
-
fal-0.11.
|
|
136
|
-
fal-0.11.
|
|
137
|
-
fal-0.11.
|
|
135
|
+
fal-0.11.3.dist-info/WHEEL,sha256=vVCvjcmxuUltf8cYhJ0sJMRDLr1XsPuxEId8YDzbyCY,88
|
|
136
|
+
fal-0.11.3.dist-info/entry_points.txt,sha256=nE9GBVV3PdBosudFwbIzZQUe_9lfPR6EH8K_FdDASnM,62
|
|
137
|
+
fal-0.11.3.dist-info/METADATA,sha256=evOSg_iE5c-4cj5Bz4u02jNOWIcHSH_sXA5zxhSUJc4,2956
|
|
138
|
+
fal-0.11.3.dist-info/RECORD,,
|
|
@@ -38,7 +38,9 @@ def _get_kwargs(
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
def _parse_response(
|
|
41
|
+
def _parse_response(
|
|
42
|
+
*, client: Client, response: httpx.Response
|
|
43
|
+
) -> Optional[Union[HTTPValidationError, str]]:
|
|
42
44
|
if response.status_code == HTTPStatus.OK:
|
|
43
45
|
response_200 = cast(str, response.json())
|
|
44
46
|
return response_200
|
|
@@ -52,7 +54,9 @@ def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Uni
|
|
|
52
54
|
return None
|
|
53
55
|
|
|
54
56
|
|
|
55
|
-
def _build_response(
|
|
57
|
+
def _build_response(
|
|
58
|
+
*, client: Client, response: httpx.Response
|
|
59
|
+
) -> Response[Union[HTTPValidationError, str]]:
|
|
56
60
|
return Response(
|
|
57
61
|
status_code=HTTPStatus(response.status_code),
|
|
58
62
|
content=response.content,
|
openapi_fal_rest/api/applications/get_status_applications_app_user_id_app_alias_or_id_status_get.py
CHANGED
|
@@ -33,7 +33,9 @@ def _get_kwargs(
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
def _parse_response(
|
|
36
|
+
def _parse_response(
|
|
37
|
+
*, client: Client, response: httpx.Response
|
|
38
|
+
) -> Optional[Union[HTTPValidationError, Status]]:
|
|
37
39
|
if response.status_code == HTTPStatus.OK:
|
|
38
40
|
response_200 = Status.from_dict(response.json())
|
|
39
41
|
|
|
@@ -48,7 +50,9 @@ def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Uni
|
|
|
48
50
|
return None
|
|
49
51
|
|
|
50
52
|
|
|
51
|
-
def _build_response(
|
|
53
|
+
def _build_response(
|
|
54
|
+
*, client: Client, response: httpx.Response
|
|
55
|
+
) -> Response[Union[HTTPValidationError, Status]]:
|
|
52
56
|
return Response(
|
|
53
57
|
status_code=HTTPStatus(response.status_code),
|
|
54
58
|
content=response.content,
|
|
@@ -14,7 +14,9 @@ def _get_kwargs(
|
|
|
14
14
|
*,
|
|
15
15
|
client: Client,
|
|
16
16
|
) -> Dict[str, Any]:
|
|
17
|
-
url = "{}/billing/payment_methods/{payment_method_id}".format(
|
|
17
|
+
url = "{}/billing/payment_methods/{payment_method_id}".format(
|
|
18
|
+
client.base_url, payment_method_id=payment_method_id
|
|
19
|
+
)
|
|
18
20
|
|
|
19
21
|
headers: Dict[str, str] = client.get_headers()
|
|
20
22
|
cookies: Dict[str, Any] = client.get_cookies()
|
|
@@ -29,7 +31,9 @@ def _get_kwargs(
|
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
|
|
32
|
-
def _parse_response(
|
|
34
|
+
def _parse_response(
|
|
35
|
+
*, client: Client, response: httpx.Response
|
|
36
|
+
) -> Optional[Union[HTTPValidationError, bool]]:
|
|
33
37
|
if response.status_code == HTTPStatus.OK:
|
|
34
38
|
response_200 = cast(bool, response.json())
|
|
35
39
|
return response_200
|
|
@@ -43,7 +47,9 @@ def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Uni
|
|
|
43
47
|
return None
|
|
44
48
|
|
|
45
49
|
|
|
46
|
-
def _build_response(
|
|
50
|
+
def _build_response(
|
|
51
|
+
*, client: Client, response: httpx.Response
|
|
52
|
+
) -> Response[Union[HTTPValidationError, bool]]:
|
|
47
53
|
return Response(
|
|
48
54
|
status_code=HTTPStatus(response.status_code),
|
|
49
55
|
content=response.content,
|
|
@@ -28,7 +28,9 @@ def _get_kwargs(
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
def _parse_response(
|
|
31
|
+
def _parse_response(
|
|
32
|
+
*, client: Client, response: httpx.Response
|
|
33
|
+
) -> Optional[Union[HTTPValidationError, str]]:
|
|
32
34
|
if response.status_code == HTTPStatus.OK:
|
|
33
35
|
response_200 = cast(str, response.json())
|
|
34
36
|
return response_200
|
|
@@ -42,7 +44,9 @@ def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Uni
|
|
|
42
44
|
return None
|
|
43
45
|
|
|
44
46
|
|
|
45
|
-
def _build_response(
|
|
47
|
+
def _build_response(
|
|
48
|
+
*, client: Client, response: httpx.Response
|
|
49
|
+
) -> Response[Union[HTTPValidationError, str]]:
|
|
46
50
|
return Response(
|
|
47
51
|
status_code=HTTPStatus(response.status_code),
|
|
48
52
|
content=response.content,
|
|
@@ -41,7 +41,9 @@ def _get_kwargs(
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
|
|
44
|
-
def _parse_response(
|
|
44
|
+
def _parse_response(
|
|
45
|
+
*, client: Client, response: httpx.Response
|
|
46
|
+
) -> Optional[Union[HTTPValidationError, float]]:
|
|
45
47
|
if response.status_code == HTTPStatus.OK:
|
|
46
48
|
response_200 = cast(float, response.json())
|
|
47
49
|
return response_200
|
|
@@ -55,7 +57,9 @@ def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Uni
|
|
|
55
57
|
return None
|
|
56
58
|
|
|
57
59
|
|
|
58
|
-
def _build_response(
|
|
60
|
+
def _build_response(
|
|
61
|
+
*, client: Client, response: httpx.Response
|
|
62
|
+
) -> Response[Union[HTTPValidationError, float]]:
|
|
59
63
|
return Response(
|
|
60
64
|
status_code=HTTPStatus(response.status_code),
|
|
61
65
|
content=response.content,
|
|
@@ -47,7 +47,9 @@ def _get_kwargs(
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
|
|
50
|
-
def _parse_response(
|
|
50
|
+
def _parse_response(
|
|
51
|
+
*, client: Client, response: httpx.Response
|
|
52
|
+
) -> Optional[Union[HTTPValidationError, float]]:
|
|
51
53
|
if response.status_code == HTTPStatus.OK:
|
|
52
54
|
response_200 = cast(float, response.json())
|
|
53
55
|
return response_200
|
|
@@ -61,7 +63,9 @@ def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Uni
|
|
|
61
63
|
return None
|
|
62
64
|
|
|
63
65
|
|
|
64
|
-
def _build_response(
|
|
66
|
+
def _build_response(
|
|
67
|
+
*, client: Client, response: httpx.Response
|
|
68
|
+
) -> Response[Union[HTTPValidationError, float]]:
|
|
65
69
|
return Response(
|
|
66
70
|
status_code=HTTPStatus(response.status_code),
|
|
67
71
|
content=response.content,
|
|
@@ -37,9 +37,13 @@ def _get_kwargs(
|
|
|
37
37
|
|
|
38
38
|
def _parse_response(
|
|
39
39
|
*, client: Client, response: httpx.Response
|
|
40
|
-
) -> Optional[
|
|
40
|
+
) -> Optional[
|
|
41
|
+
Union[HTTPValidationError, HandleStripeWebhookResponseHandleStripeWebhook]
|
|
42
|
+
]:
|
|
41
43
|
if response.status_code == HTTPStatus.OK:
|
|
42
|
-
response_200 = HandleStripeWebhookResponseHandleStripeWebhook.from_dict(
|
|
44
|
+
response_200 = HandleStripeWebhookResponseHandleStripeWebhook.from_dict(
|
|
45
|
+
response.json()
|
|
46
|
+
)
|
|
43
47
|
|
|
44
48
|
return response_200
|
|
45
49
|
if response.status_code == HTTPStatus.UNPROCESSABLE_ENTITY:
|
|
@@ -54,7 +58,9 @@ def _parse_response(
|
|
|
54
58
|
|
|
55
59
|
def _build_response(
|
|
56
60
|
*, client: Client, response: httpx.Response
|
|
57
|
-
) -> Response[
|
|
61
|
+
) -> Response[
|
|
62
|
+
Union[HTTPValidationError, HandleStripeWebhookResponseHandleStripeWebhook]
|
|
63
|
+
]:
|
|
58
64
|
return Response(
|
|
59
65
|
status_code=HTTPStatus(response.status_code),
|
|
60
66
|
content=response.content,
|
|
@@ -67,7 +73,9 @@ def sync_detailed(
|
|
|
67
73
|
*,
|
|
68
74
|
client: Client,
|
|
69
75
|
stripe_signature: Union[Unset, str] = UNSET,
|
|
70
|
-
) -> Response[
|
|
76
|
+
) -> Response[
|
|
77
|
+
Union[HTTPValidationError, HandleStripeWebhookResponseHandleStripeWebhook]
|
|
78
|
+
]:
|
|
71
79
|
"""Handle Stripe Webhook
|
|
72
80
|
|
|
73
81
|
Args:
|
|
@@ -98,7 +106,9 @@ def sync(
|
|
|
98
106
|
*,
|
|
99
107
|
client: Client,
|
|
100
108
|
stripe_signature: Union[Unset, str] = UNSET,
|
|
101
|
-
) -> Optional[
|
|
109
|
+
) -> Optional[
|
|
110
|
+
Union[HTTPValidationError, HandleStripeWebhookResponseHandleStripeWebhook]
|
|
111
|
+
]:
|
|
102
112
|
"""Handle Stripe Webhook
|
|
103
113
|
|
|
104
114
|
Args:
|
|
@@ -122,7 +132,9 @@ async def asyncio_detailed(
|
|
|
122
132
|
*,
|
|
123
133
|
client: Client,
|
|
124
134
|
stripe_signature: Union[Unset, str] = UNSET,
|
|
125
|
-
) -> Response[
|
|
135
|
+
) -> Response[
|
|
136
|
+
Union[HTTPValidationError, HandleStripeWebhookResponseHandleStripeWebhook]
|
|
137
|
+
]:
|
|
126
138
|
"""Handle Stripe Webhook
|
|
127
139
|
|
|
128
140
|
Args:
|
|
@@ -151,7 +163,9 @@ async def asyncio(
|
|
|
151
163
|
*,
|
|
152
164
|
client: Client,
|
|
153
165
|
stripe_signature: Union[Unset, str] = UNSET,
|
|
154
|
-
) -> Optional[
|
|
166
|
+
) -> Optional[
|
|
167
|
+
Union[HTTPValidationError, HandleStripeWebhookResponseHandleStripeWebhook]
|
|
168
|
+
]:
|
|
155
169
|
"""Handle Stripe Webhook
|
|
156
170
|
|
|
157
171
|
Args:
|
|
@@ -29,7 +29,9 @@ def _get_kwargs(
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
def _parse_response(
|
|
32
|
+
def _parse_response(
|
|
33
|
+
*, client: Client, response: httpx.Response
|
|
34
|
+
) -> Optional[Union[HTTPValidationError, Invoice]]:
|
|
33
35
|
if response.status_code == HTTPStatus.OK:
|
|
34
36
|
response_200 = Invoice.from_dict(response.json())
|
|
35
37
|
|
|
@@ -44,7 +46,9 @@ def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Uni
|
|
|
44
46
|
return None
|
|
45
47
|
|
|
46
48
|
|
|
47
|
-
def _build_response(
|
|
49
|
+
def _build_response(
|
|
50
|
+
*, client: Client, response: httpx.Response
|
|
51
|
+
) -> Response[Union[HTTPValidationError, Invoice]]:
|
|
48
52
|
return Response(
|
|
49
53
|
status_code=HTTPStatus(response.status_code),
|
|
50
54
|
content=response.content,
|
|
@@ -38,7 +38,9 @@ def _get_kwargs(
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
|
|
41
|
-
def _parse_response(
|
|
41
|
+
def _parse_response(
|
|
42
|
+
*, client: Client, response: httpx.Response
|
|
43
|
+
) -> Optional[Union[Any, HTTPValidationError]]:
|
|
42
44
|
if response.status_code == HTTPStatus.OK:
|
|
43
45
|
response_200 = cast(Any, response.json())
|
|
44
46
|
return response_200
|
|
@@ -52,7 +54,9 @@ def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Uni
|
|
|
52
54
|
return None
|
|
53
55
|
|
|
54
56
|
|
|
55
|
-
def _build_response(
|
|
57
|
+
def _build_response(
|
|
58
|
+
*, client: Client, response: httpx.Response
|
|
59
|
+
) -> Response[Union[Any, HTTPValidationError]]:
|
|
56
60
|
return Response(
|
|
57
61
|
status_code=HTTPStatus(response.status_code),
|
|
58
62
|
content=response.content,
|
|
@@ -16,7 +16,9 @@ def _get_kwargs(
|
|
|
16
16
|
client: Client,
|
|
17
17
|
json_body: HashCheck,
|
|
18
18
|
) -> Dict[str, Any]:
|
|
19
|
-
url = "{}/files/dir/check_hash/{target_path}".format(
|
|
19
|
+
url = "{}/files/dir/check_hash/{target_path}".format(
|
|
20
|
+
client.base_url, target_path=target_path
|
|
21
|
+
)
|
|
20
22
|
|
|
21
23
|
headers: Dict[str, str] = client.get_headers()
|
|
22
24
|
cookies: Dict[str, Any] = client.get_cookies()
|
|
@@ -34,7 +36,9 @@ def _get_kwargs(
|
|
|
34
36
|
}
|
|
35
37
|
|
|
36
38
|
|
|
37
|
-
def _parse_response(
|
|
39
|
+
def _parse_response(
|
|
40
|
+
*, client: Client, response: httpx.Response
|
|
41
|
+
) -> Optional[Union[HTTPValidationError, bool]]:
|
|
38
42
|
if response.status_code == HTTPStatus.OK:
|
|
39
43
|
response_200 = cast(bool, response.json())
|
|
40
44
|
return response_200
|
|
@@ -48,7 +52,9 @@ def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Uni
|
|
|
48
52
|
return None
|
|
49
53
|
|
|
50
54
|
|
|
51
|
-
def _build_response(
|
|
55
|
+
def _build_response(
|
|
56
|
+
*, client: Client, response: httpx.Response
|
|
57
|
+
) -> Response[Union[HTTPValidationError, bool]]:
|
|
52
58
|
return Response(
|
|
53
59
|
status_code=HTTPStatus(response.status_code),
|
|
54
60
|
content=response.content,
|
|
@@ -29,7 +29,9 @@ def _get_kwargs(
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
def _parse_response(
|
|
32
|
+
def _parse_response(
|
|
33
|
+
*, client: Client, response: httpx.Response
|
|
34
|
+
) -> Optional[Union[HTTPValidationError, bool]]:
|
|
33
35
|
if response.status_code == HTTPStatus.OK:
|
|
34
36
|
response_200 = cast(bool, response.json())
|
|
35
37
|
return response_200
|
|
@@ -43,7 +45,9 @@ def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Uni
|
|
|
43
45
|
return None
|
|
44
46
|
|
|
45
47
|
|
|
46
|
-
def _build_response(
|
|
48
|
+
def _build_response(
|
|
49
|
+
*, client: Client, response: httpx.Response
|
|
50
|
+
) -> Response[Union[HTTPValidationError, bool]]:
|
|
47
51
|
return Response(
|
|
48
52
|
status_code=HTTPStatus(response.status_code),
|
|
49
53
|
content=response.content,
|
|
@@ -29,7 +29,9 @@ def _get_kwargs(
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
def _parse_response(
|
|
32
|
+
def _parse_response(
|
|
33
|
+
*, client: Client, response: httpx.Response
|
|
34
|
+
) -> Optional[Union[Any, HTTPValidationError]]:
|
|
33
35
|
if response.status_code == HTTPStatus.OK:
|
|
34
36
|
response_200 = cast(Any, response.json())
|
|
35
37
|
return response_200
|
|
@@ -43,7 +45,9 @@ def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Uni
|
|
|
43
45
|
return None
|
|
44
46
|
|
|
45
47
|
|
|
46
|
-
def _build_response(
|
|
48
|
+
def _build_response(
|
|
49
|
+
*, client: Client, response: httpx.Response
|
|
50
|
+
) -> Response[Union[Any, HTTPValidationError]]:
|
|
47
51
|
return Response(
|
|
48
52
|
status_code=HTTPStatus(response.status_code),
|
|
49
53
|
content=response.content,
|
|
@@ -37,7 +37,9 @@ def _get_kwargs(
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
|
|
40
|
-
def _parse_response(
|
|
40
|
+
def _parse_response(
|
|
41
|
+
*, client: Client, response: httpx.Response
|
|
42
|
+
) -> Optional[Union[FileSpec, HTTPValidationError]]:
|
|
41
43
|
if response.status_code == HTTPStatus.OK:
|
|
42
44
|
response_200 = FileSpec.from_dict(response.json())
|
|
43
45
|
|
|
@@ -52,7 +54,9 @@ def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Uni
|
|
|
52
54
|
return None
|
|
53
55
|
|
|
54
56
|
|
|
55
|
-
def _build_response(
|
|
57
|
+
def _build_response(
|
|
58
|
+
*, client: Client, response: httpx.Response
|
|
59
|
+
) -> Response[Union[FileSpec, HTTPValidationError]]:
|
|
56
60
|
return Response(
|
|
57
61
|
status_code=HTTPStatus(response.status_code),
|
|
58
62
|
content=response.content,
|
|
@@ -34,7 +34,9 @@ def _get_kwargs(
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
def _parse_response(
|
|
37
|
+
def _parse_response(
|
|
38
|
+
*, client: Client, response: httpx.Response
|
|
39
|
+
) -> Optional[Union[HTTPValidationError, bool]]:
|
|
38
40
|
if response.status_code == HTTPStatus.OK:
|
|
39
41
|
response_200 = cast(bool, response.json())
|
|
40
42
|
return response_200
|
|
@@ -48,7 +50,9 @@ def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Uni
|
|
|
48
50
|
return None
|
|
49
51
|
|
|
50
52
|
|
|
51
|
-
def _build_response(
|
|
53
|
+
def _build_response(
|
|
54
|
+
*, client: Client, response: httpx.Response
|
|
55
|
+
) -> Response[Union[HTTPValidationError, bool]]:
|
|
52
56
|
return Response(
|
|
53
57
|
status_code=HTTPStatus(response.status_code),
|
|
54
58
|
content=response.content,
|
|
@@ -17,7 +17,9 @@ def _get_kwargs(
|
|
|
17
17
|
multipart_data: BodyUploadLocalFile,
|
|
18
18
|
unzip: Union[Unset, None, bool] = False,
|
|
19
19
|
) -> Dict[str, Any]:
|
|
20
|
-
url = "{}/files/file/local/{target_path}".format(
|
|
20
|
+
url = "{}/files/file/local/{target_path}".format(
|
|
21
|
+
client.base_url, target_path=target_path
|
|
22
|
+
)
|
|
21
23
|
|
|
22
24
|
headers: Dict[str, str] = client.get_headers()
|
|
23
25
|
cookies: Dict[str, Any] = client.get_cookies()
|
|
@@ -41,7 +43,9 @@ def _get_kwargs(
|
|
|
41
43
|
}
|
|
42
44
|
|
|
43
45
|
|
|
44
|
-
def _parse_response(
|
|
46
|
+
def _parse_response(
|
|
47
|
+
*, client: Client, response: httpx.Response
|
|
48
|
+
) -> Optional[Union[HTTPValidationError, bool]]:
|
|
45
49
|
if response.status_code == HTTPStatus.OK:
|
|
46
50
|
response_200 = cast(bool, response.json())
|
|
47
51
|
return response_200
|
|
@@ -55,7 +59,9 @@ def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Uni
|
|
|
55
59
|
return None
|
|
56
60
|
|
|
57
61
|
|
|
58
|
-
def _build_response(
|
|
62
|
+
def _build_response(
|
|
63
|
+
*, client: Client, response: httpx.Response
|
|
64
|
+
) -> Response[Union[HTTPValidationError, bool]]:
|
|
59
65
|
return Response(
|
|
60
66
|
status_code=HTTPStatus(response.status_code),
|
|
61
67
|
content=response.content,
|
|
@@ -42,7 +42,9 @@ def _get_kwargs(
|
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
|
|
45
|
-
def _parse_response(
|
|
45
|
+
def _parse_response(
|
|
46
|
+
*, client: Client, response: httpx.Response
|
|
47
|
+
) -> Optional[Union[HTTPValidationError, NewUserKey]]:
|
|
46
48
|
if response.status_code == HTTPStatus.CREATED:
|
|
47
49
|
response_201 = NewUserKey.from_dict(response.json())
|
|
48
50
|
|
|
@@ -57,7 +59,9 @@ def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Uni
|
|
|
57
59
|
return None
|
|
58
60
|
|
|
59
61
|
|
|
60
|
-
def _build_response(
|
|
62
|
+
def _build_response(
|
|
63
|
+
*, client: Client, response: httpx.Response
|
|
64
|
+
) -> Response[Union[HTTPValidationError, NewUserKey]]:
|
|
61
65
|
return Response(
|
|
62
66
|
status_code=HTTPStatus(response.status_code),
|
|
63
67
|
content=response.content,
|
|
@@ -29,7 +29,9 @@ def _get_kwargs(
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
def _parse_response(
|
|
32
|
+
def _parse_response(
|
|
33
|
+
*, client: Client, response: httpx.Response
|
|
34
|
+
) -> Optional[Union[Any, HTTPValidationError]]:
|
|
33
35
|
if response.status_code == HTTPStatus.NO_CONTENT:
|
|
34
36
|
response_204 = cast(Any, None)
|
|
35
37
|
return response_204
|
|
@@ -43,7 +45,9 @@ def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Uni
|
|
|
43
45
|
return None
|
|
44
46
|
|
|
45
47
|
|
|
46
|
-
def _build_response(
|
|
48
|
+
def _build_response(
|
|
49
|
+
*, client: Client, response: httpx.Response
|
|
50
|
+
) -> Response[Union[Any, HTTPValidationError]]:
|
|
47
51
|
return Response(
|
|
48
52
|
status_code=HTTPStatus(response.status_code),
|
|
49
53
|
content=response.content,
|
|
@@ -33,7 +33,9 @@ def _get_kwargs(
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
|
|
36
|
-
def _parse_response(
|
|
36
|
+
def _parse_response(
|
|
37
|
+
*, client: Client, response: httpx.Response
|
|
38
|
+
) -> Optional[Union[HTTPValidationError, str]]:
|
|
37
39
|
if response.status_code == HTTPStatus.CREATED:
|
|
38
40
|
response_201 = cast(str, response.json())
|
|
39
41
|
return response_201
|
|
@@ -47,7 +49,9 @@ def _parse_response(*, client: Client, response: httpx.Response) -> Optional[Uni
|
|
|
47
49
|
return None
|
|
48
50
|
|
|
49
51
|
|
|
50
|
-
def _build_response(
|
|
52
|
+
def _build_response(
|
|
53
|
+
*, client: Client, response: httpx.Response
|
|
54
|
+
) -> Response[Union[HTTPValidationError, str]]:
|
|
51
55
|
return Response(
|
|
52
56
|
status_code=HTTPStatus(response.status_code),
|
|
53
57
|
content=response.content,
|