remotion-lambda 4.0.509__tar.gz → 4.0.510__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 (23) hide show
  1. {remotion_lambda-4.0.509 → remotion_lambda-4.0.510}/PKG-INFO +1 -1
  2. {remotion_lambda-4.0.509 → remotion_lambda-4.0.510}/remotion_lambda/models.py +1 -1
  3. {remotion_lambda-4.0.509 → remotion_lambda-4.0.510}/remotion_lambda/version.py +1 -1
  4. {remotion_lambda-4.0.509 → remotion_lambda-4.0.510}/remotion_lambda.egg-info/PKG-INFO +1 -1
  5. {remotion_lambda-4.0.509 → remotion_lambda-4.0.510}/tests/test_render_client_render_still.py +13 -0
  6. {remotion_lambda-4.0.509 → remotion_lambda-4.0.510}/LICENSE +0 -0
  7. {remotion_lambda-4.0.509 → remotion_lambda-4.0.510}/README.md +0 -0
  8. {remotion_lambda-4.0.509 → remotion_lambda-4.0.510}/remotion_lambda/__init__.py +0 -0
  9. {remotion_lambda-4.0.509 → remotion_lambda-4.0.510}/remotion_lambda/exception.py +0 -0
  10. {remotion_lambda-4.0.509 → remotion_lambda-4.0.510}/remotion_lambda/remotionclient.py +0 -0
  11. {remotion_lambda-4.0.509 → remotion_lambda-4.0.510}/remotion_lambda.egg-info/SOURCES.txt +0 -0
  12. {remotion_lambda-4.0.509 → remotion_lambda-4.0.510}/remotion_lambda.egg-info/dependency_links.txt +0 -0
  13. {remotion_lambda-4.0.509 → remotion_lambda-4.0.510}/remotion_lambda.egg-info/requires.txt +0 -0
  14. {remotion_lambda-4.0.509 → remotion_lambda-4.0.510}/remotion_lambda.egg-info/top_level.txt +0 -0
  15. {remotion_lambda-4.0.509 → remotion_lambda-4.0.510}/setup.cfg +0 -0
  16. {remotion_lambda-4.0.509 → remotion_lambda-4.0.510}/setup.py +0 -0
  17. {remotion_lambda-4.0.509 → remotion_lambda-4.0.510}/tests/__init__.py +0 -0
  18. {remotion_lambda-4.0.509 → remotion_lambda-4.0.510}/tests/conftest.py +0 -0
  19. {remotion_lambda-4.0.509 → remotion_lambda-4.0.510}/tests/constants.py +0 -0
  20. {remotion_lambda-4.0.509 → remotion_lambda-4.0.510}/tests/test_get_render_progress_client.py +0 -0
  21. {remotion_lambda-4.0.509 → remotion_lambda-4.0.510}/tests/test_large_payload_compression.py +0 -0
  22. {remotion_lambda-4.0.509 → remotion_lambda-4.0.510}/tests/test_remotion_client.py +0 -0
  23. {remotion_lambda-4.0.509 → remotion_lambda-4.0.510}/tests/test_render_client_render_media.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: remotion_lambda
3
- Version: 4.0.509
3
+ Version: 4.0.510
4
4
  Summary: Remotion Lambda client
5
5
  Home-page: https://github.com/remotion-dev/remotion/tree/main/packages/lambda-python
6
6
  Author: Jonny Burger
@@ -521,7 +521,7 @@ class RenderStillParams:
521
521
  'forceHeight': self.force_height,
522
522
  'forceFps': self.force_fps,
523
523
  'forceDurationInFrames': self.force_duration_in_frames,
524
- 'forceBucketName': self.force_bucket_name,
524
+ 'bucketName': self.force_bucket_name,
525
525
  'deleteAfter': self.delete_after,
526
526
  'attempt': self.attempt,
527
527
  'offthreadVideoCacheSizeInBytes': self.offthreadvideo_cache_size_in_bytes,
@@ -1,2 +1,2 @@
1
1
  # pylint: disable=missing-module-docstring, missing-final-newline
2
- VERSION = "4.0.509"
2
+ VERSION = "4.0.510"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: remotion-lambda
3
- Version: 4.0.509
3
+ Version: 4.0.510
4
4
  Summary: Remotion Lambda client
5
5
  Home-page: https://github.com/remotion-dev/remotion/tree/main/packages/lambda-python
6
6
  Author: Jonny Burger
@@ -5,6 +5,19 @@ from remotion_lambda.remotionclient import RemotionClient
5
5
 
6
6
 
7
7
  class TestRemotionClient(TestCase):
8
+ def test_force_bucket_name_is_serialized_as_bucket_name(self):
9
+ render_still_params = RenderStillParams(
10
+ composition="still-helloworld",
11
+ force_bucket_name="remotionlambda-useast1-testbucket",
12
+ )
13
+
14
+ serialized_params = render_still_params.serialize_params()
15
+
16
+ self.assertEqual(
17
+ serialized_params['bucketName'], 'remotionlambda-useast1-testbucket'
18
+ )
19
+ self.assertNotIn('forceBucketName', serialized_params)
20
+
8
21
  def test_remotion_construct_request(self):
9
22
  client = RemotionClient(
10
23
  region="us-east-1", serve_url="testbed", function_name="remotion-render"