magic_hour 0.30.0__py3-none-any.whl → 0.30.1__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 magic_hour might be problematic. Click here for more details.

magic_hour/environment.py CHANGED
@@ -6,7 +6,7 @@ class Environment(enum.Enum):
6
6
  """Pre-defined base URLs for the API"""
7
7
 
8
8
  ENVIRONMENT = "https://api.magichour.ai"
9
- MOCK_SERVER = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.30.0"
9
+ MOCK_SERVER = "https://api.sideko.dev/v1/mock/magichour/magic-hour/0.30.1"
10
10
 
11
11
 
12
12
  def _get_base_url(
@@ -44,6 +44,7 @@ class FaceDetectionClient:
44
44
  return self._base_client.request(
45
45
  method="GET",
46
46
  path=f"/v1/face-detection/{id}",
47
+ auth_names=["bearerAuth"],
47
48
  cast_to=models.V1FaceDetectionGetResponse,
48
49
  request_options=request_options or default_request_options(),
49
50
  )
@@ -134,6 +135,7 @@ class AsyncFaceDetectionClient:
134
135
  return await self._base_client.request(
135
136
  method="GET",
136
137
  path=f"/v1/face-detection/{id}",
138
+ auth_names=["bearerAuth"],
137
139
  cast_to=models.V1FaceDetectionGetResponse,
138
140
  request_options=request_options or default_request_options(),
139
141
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: magic_hour
3
- Version: 0.30.0
3
+ Version: 0.30.1
4
4
  Summary: Python SDK for Magic Hour API
5
5
  Requires-Python: >=3.8,<4.0
6
6
  Classifier: Programming Language :: Python :: 3
@@ -10,7 +10,7 @@ magic_hour/core/request.py,sha256=_ikn8iZ2fU9Ubqnt7M9hdEnXGV6AAFHJYmDKBtxEY4I,52
10
10
  magic_hour/core/response.py,sha256=Sl7nPL2axmz7em_6d9TkFSnQQKUpalWaVWbPPWoXJgM,10180
11
11
  magic_hour/core/type_utils.py,sha256=4bU9WXnMXJ6YTtuqOMiB8t6Xw0RlfVWJ-IDBONlqEtQ,461
12
12
  magic_hour/core/utils.py,sha256=34SiC1vw2A0TkYHONgMA_d09soIIYiiBWRXCZGdwGIk,1669
13
- magic_hour/environment.py,sha256=UHZwPSDACt4Te7qmhCyVpckUCu4kcddbgnUIBp7Uztw,535
13
+ magic_hour/environment.py,sha256=WOXdkenGmLZOFV0HTyQTcnJ1LqRMNm_H8o6XMuRLJy4,535
14
14
  magic_hour/resources/v1/__init__.py,sha256=Aj0sjVcoijjQyieNBxv2_uewPYC2vO2UG-ehoBgCz5E,86
15
15
  magic_hour/resources/v1/ai_clothes_changer/README.md,sha256=x9cVTx9nHsyIutYjoUk1DeJg55cti6DAN_C-kBI_47Q,1564
16
16
  magic_hour/resources/v1/ai_clothes_changer/__init__.py,sha256=6W_Y2HxG2sDOBiJyzngK3Q2S3xfQgpK-j8xFRmBAhbQ,142
@@ -54,7 +54,7 @@ magic_hour/resources/v1/auto_subtitle_generator/client.py,sha256=6HvbAVsB9cJol6u
54
54
  magic_hour/resources/v1/client.py,sha256=ERCl_sMEwUgTEoo7hmknz4c4QoyPkSc5Hvlci976Xt8,7563
55
55
  magic_hour/resources/v1/face_detection/README.md,sha256=tbnVcaHIWrRcaGc8Ea3Cg5XlyrVTtxaXXHnCWdzDSIw,2445
56
56
  magic_hour/resources/v1/face_detection/__init__.py,sha256=nLsNn9D1wGryYyD41H7QqAeeHuSsfFSJtYQTMVCQQUk,130
57
- magic_hour/resources/v1/face_detection/client.py,sha256=UOhnkvkUR772QGXVFWraJJ3LWcq-Hnp2-Guwtl0F7jI,6271
57
+ magic_hour/resources/v1/face_detection/client.py,sha256=mH70WIk0UK5el3aqk1f321qkd9YZYidu6PIlmHVixyM,6349
58
58
  magic_hour/resources/v1/face_swap/README.md,sha256=-bENF57lpZQu55C1psxKc45Ev1kMcD8GYWXGxa9hbzU,3334
59
59
  magic_hour/resources/v1/face_swap/__init__.py,sha256=lyg5uAHyYHEUVAiAZtP3zwjGCEGqq8IWbQKexVdhr00,110
60
60
  magic_hour/resources/v1/face_swap/client.py,sha256=-BpJae7J4PZPUG45BMA3HBB2XhrbHpgWqwwyaDFH88A,8519
@@ -183,7 +183,7 @@ magic_hour/types/params/v1_text_to_video_create_body_style.py,sha256=cEZO917hipE
183
183
  magic_hour/types/params/v1_video_to_video_create_body.py,sha256=Pgok6GUVHrpW6H3rwdVFA3O5YJvjgviCZkmmHddOSWo,3802
184
184
  magic_hour/types/params/v1_video_to_video_create_body_assets.py,sha256=_-6iA5d8ndka6iJWyWvlJwzRkQcmurJE6hkg-fDwBmQ,1531
185
185
  magic_hour/types/params/v1_video_to_video_create_body_style.py,sha256=RrDBhN2KQnCf9hGsnl3sAYvuFRsxth2JXfe5la0IYJg,5749
186
- magic_hour-0.30.0.dist-info/LICENSE,sha256=F3fxj7JXPgB2K0uj8YXRsVss4u-Dgt_-U3V4VXsivNI,1070
187
- magic_hour-0.30.0.dist-info/METADATA,sha256=GYEMkJXeN9w8Ip84R1eupCy9bIdGwDauEfRLu53hkQ8,6092
188
- magic_hour-0.30.0.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
189
- magic_hour-0.30.0.dist-info/RECORD,,
186
+ magic_hour-0.30.1.dist-info/LICENSE,sha256=F3fxj7JXPgB2K0uj8YXRsVss4u-Dgt_-U3V4VXsivNI,1070
187
+ magic_hour-0.30.1.dist-info/METADATA,sha256=-gtQZeNjRsxZ6yY0OGMtHEipUMAph8go9EI5WVo1w2Q,6092
188
+ magic_hour-0.30.1.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
189
+ magic_hour-0.30.1.dist-info/RECORD,,