remotion-lambda 4.0.409__tar.gz → 4.0.411__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.409 → remotion_lambda-4.0.411}/PKG-INFO +1 -1
  2. {remotion_lambda-4.0.409 → remotion_lambda-4.0.411}/remotion_lambda/models.py +6 -4
  3. {remotion_lambda-4.0.409 → remotion_lambda-4.0.411}/remotion_lambda/version.py +1 -1
  4. {remotion_lambda-4.0.409 → remotion_lambda-4.0.411}/remotion_lambda.egg-info/PKG-INFO +1 -1
  5. {remotion_lambda-4.0.409 → remotion_lambda-4.0.411}/LICENSE +0 -0
  6. {remotion_lambda-4.0.409 → remotion_lambda-4.0.411}/README.md +0 -0
  7. {remotion_lambda-4.0.409 → remotion_lambda-4.0.411}/remotion_lambda/__init__.py +0 -0
  8. {remotion_lambda-4.0.409 → remotion_lambda-4.0.411}/remotion_lambda/exception.py +0 -0
  9. {remotion_lambda-4.0.409 → remotion_lambda-4.0.411}/remotion_lambda/remotionclient.py +0 -0
  10. {remotion_lambda-4.0.409 → remotion_lambda-4.0.411}/remotion_lambda.egg-info/SOURCES.txt +0 -0
  11. {remotion_lambda-4.0.409 → remotion_lambda-4.0.411}/remotion_lambda.egg-info/dependency_links.txt +0 -0
  12. {remotion_lambda-4.0.409 → remotion_lambda-4.0.411}/remotion_lambda.egg-info/requires.txt +0 -0
  13. {remotion_lambda-4.0.409 → remotion_lambda-4.0.411}/remotion_lambda.egg-info/top_level.txt +0 -0
  14. {remotion_lambda-4.0.409 → remotion_lambda-4.0.411}/setup.cfg +0 -0
  15. {remotion_lambda-4.0.409 → remotion_lambda-4.0.411}/setup.py +0 -0
  16. {remotion_lambda-4.0.409 → remotion_lambda-4.0.411}/tests/__init__.py +0 -0
  17. {remotion_lambda-4.0.409 → remotion_lambda-4.0.411}/tests/conftest.py +0 -0
  18. {remotion_lambda-4.0.409 → remotion_lambda-4.0.411}/tests/constants.py +0 -0
  19. {remotion_lambda-4.0.409 → remotion_lambda-4.0.411}/tests/test_get_render_progress_client.py +0 -0
  20. {remotion_lambda-4.0.409 → remotion_lambda-4.0.411}/tests/test_large_payload_compression.py +0 -0
  21. {remotion_lambda-4.0.409 → remotion_lambda-4.0.411}/tests/test_remotion_client.py +0 -0
  22. {remotion_lambda-4.0.409 → remotion_lambda-4.0.411}/tests/test_render_client_render_media.py +0 -0
  23. {remotion_lambda-4.0.409 → remotion_lambda-4.0.411}/tests/test_render_client_render_still.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: remotion_lambda
3
- Version: 4.0.409
3
+ Version: 4.0.411
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
@@ -331,6 +331,7 @@ class RenderMediaParams:
331
331
  delete_after: Optional[str] = None
332
332
  encoding_buffer_size: Optional[str] = None
333
333
  encoding_max_rate: Optional[str] = None
334
+ is_production: Optional[bool] = None
334
335
 
335
336
  def serialize_params(self) -> Dict:
336
337
  """
@@ -376,14 +377,14 @@ class RenderMediaParams:
376
377
  'mediaCacheSizeInBytes': self.media_cache_size_in_bytes,
377
378
  'offthreadVideoThreads': self.offthreadvideo_threads,
378
379
  'forceWidth': self.force_width,
379
- 'apiKey': self.api_key,
380
- 'licenseKey': self.license_key,
380
+ 'licenseKey': self.license_key if self.license_key is not None else self.api_key,
381
381
  'bucketName': self.bucket_name,
382
382
  'audioCodec': self.audio_codec,
383
383
  'x264Preset': self.x264_preset,
384
384
  'deleteAfter': self.delete_after,
385
385
  'encodingBufferSize': self.encoding_buffer_size,
386
386
  'encodingMaxRate': self.encoding_max_rate,
387
+ 'isProduction': self.is_production,
387
388
  'type': 'start',
388
389
  }
389
390
 
@@ -457,6 +458,7 @@ class RenderStillParams:
457
458
  media_cache_size_in_bytes: Optional[int] = None
458
459
  offthreadvideo_threads: Optional[int] = None
459
460
  streamed: bool = False
461
+ is_production: Optional[bool] = None
460
462
 
461
463
  def serialize_params(self) -> Dict:
462
464
  """
@@ -501,8 +503,7 @@ class RenderStillParams:
501
503
  'downloadBehavior': self.download_behavior
502
504
  or PlayInBrowser(type='play-in-browser'),
503
505
  'forceWidth': self.force_width,
504
- 'apiKey': self.api_key,
505
- 'licenseKey': self.license_key,
506
+ 'licenseKey': self.license_key if self.license_key is not None else self.api_key,
506
507
  'forceHeight': self.force_height,
507
508
  'forceBucketName': self.force_bucket_name,
508
509
  'deleteAfter': self.delete_after,
@@ -511,6 +512,7 @@ class RenderStillParams:
511
512
  'mediaCacheSizeInBytes': self.media_cache_size_in_bytes,
512
513
  'offthreadVideoThreads': self.offthreadvideo_threads,
513
514
  'streamed': self.streamed,
515
+ 'isProduction': self.is_production,
514
516
  }
515
517
 
516
518
  if self.force_path_style is not None:
@@ -1,2 +1,2 @@
1
1
  # pylint: disable=missing-module-docstring, missing-final-newline
2
- VERSION = "4.0.409"
2
+ VERSION = "4.0.411"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: remotion-lambda
3
- Version: 4.0.409
3
+ Version: 4.0.411
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