transcodely 0.3.15__tar.gz → 0.3.16__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 (95) hide show
  1. {transcodely-0.3.15 → transcodely-0.3.16}/PKG-INFO +9 -1
  2. {transcodely-0.3.15 → transcodely-0.3.16}/README.md +8 -0
  3. {transcodely-0.3.15 → transcodely-0.3.16}/pyproject.toml +1 -1
  4. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/_transport/error_mapping.py +28 -1
  5. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/types.py +19 -15
  6. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/content_aware_pb2.py +3 -3
  7. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/version.py +1 -1
  8. {transcodely-0.3.15 → transcodely-0.3.16}/.gitignore +0 -0
  9. {transcodely-0.3.15 → transcodely-0.3.16}/LICENSE +0 -0
  10. {transcodely-0.3.15 → transcodely-0.3.16}/src/buf/__init__.py +0 -0
  11. {transcodely-0.3.15 → transcodely-0.3.16}/src/buf/validate/__init__.py +0 -0
  12. {transcodely-0.3.15 → transcodely-0.3.16}/src/buf/validate/validate_pb2.py +0 -0
  13. {transcodely-0.3.15 → transcodely-0.3.16}/src/buf/validate/validate_pb2.pyi +0 -0
  14. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/__init__.py +0 -0
  15. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/_codec/__init__.py +0 -0
  16. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/_codec/json_codec.py +0 -0
  17. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/_transport/__init__.py +0 -0
  18. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/_transport/headers.py +0 -0
  19. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/_transport/transport.py +0 -0
  20. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/client.py +0 -0
  21. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/errors.py +0 -0
  22. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/pagination.py +0 -0
  23. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/py.typed +0 -0
  24. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/resources/__init__.py +0 -0
  25. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/resources/_helpers.py +0 -0
  26. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/resources/api_keys.py +0 -0
  27. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/resources/apps.py +0 -0
  28. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/resources/billing.py +0 -0
  29. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/resources/events.py +0 -0
  30. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/resources/health.py +0 -0
  31. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/resources/ingest_rules.py +0 -0
  32. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/resources/jobs.py +0 -0
  33. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/resources/memberships.py +0 -0
  34. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/resources/organizations.py +0 -0
  35. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/resources/origins.py +0 -0
  36. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/resources/presets.py +0 -0
  37. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/resources/users.py +0 -0
  38. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/resources/videos.py +0 -0
  39. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/resources/webhook_endpoints.py +0 -0
  40. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/streaming.py +0 -0
  41. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/api_key_pb2.py +0 -0
  42. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/api_key_pb2.pyi +0 -0
  43. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/app_pb2.py +0 -0
  44. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/app_pb2.pyi +0 -0
  45. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/billing_pb2.py +0 -0
  46. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/billing_pb2.pyi +0 -0
  47. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/codec_av1_pb2.py +0 -0
  48. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/codec_av1_pb2.pyi +0 -0
  49. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/codec_h264_pb2.py +0 -0
  50. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/codec_h264_pb2.pyi +0 -0
  51. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/codec_h265_pb2.py +0 -0
  52. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/codec_h265_pb2.pyi +0 -0
  53. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/codec_vp9_pb2.py +0 -0
  54. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/codec_vp9_pb2.pyi +0 -0
  55. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/common_pb2.py +0 -0
  56. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/common_pb2.pyi +0 -0
  57. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/content_aware_pb2.pyi +0 -0
  58. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/drm_pb2.py +0 -0
  59. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/drm_pb2.pyi +0 -0
  60. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/hdr_pb2.py +0 -0
  61. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/hdr_pb2.pyi +0 -0
  62. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/health_pb2.py +0 -0
  63. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/health_pb2.pyi +0 -0
  64. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/ingest_rule_pb2.py +0 -0
  65. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/ingest_rule_pb2.pyi +0 -0
  66. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/job_pb2.py +0 -0
  67. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/job_pb2.pyi +0 -0
  68. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/media_pb2.py +0 -0
  69. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/media_pb2.pyi +0 -0
  70. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/membership_pb2.py +0 -0
  71. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/membership_pb2.pyi +0 -0
  72. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/organization_pb2.py +0 -0
  73. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/organization_pb2.pyi +0 -0
  74. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/origin_pb2.py +0 -0
  75. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/origin_pb2.pyi +0 -0
  76. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/preset_pb2.py +0 -0
  77. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/preset_pb2.pyi +0 -0
  78. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/streaming_pb2.py +0 -0
  79. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/streaming_pb2.pyi +0 -0
  80. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/subtitles_pb2.py +0 -0
  81. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/subtitles_pb2.pyi +0 -0
  82. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/thumbnails_pb2.py +0 -0
  83. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/thumbnails_pb2.pyi +0 -0
  84. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/user_pb2.py +0 -0
  85. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/user_pb2.pyi +0 -0
  86. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/video_pb2.py +0 -0
  87. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/video_pb2.pyi +0 -0
  88. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/watermark_pb2.py +0 -0
  89. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/watermark_pb2.pyi +0 -0
  90. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/webhook_pb2.py +0 -0
  91. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/v1/webhook_pb2.pyi +0 -0
  92. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/webhooks/__init__.py +0 -0
  93. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/webhooks/construct_event.py +0 -0
  94. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/webhooks/signature.py +0 -0
  95. {transcodely-0.3.15 → transcodely-0.3.16}/src/transcodely/webhooks/types.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: transcodely
3
- Version: 0.3.15
3
+ Version: 0.3.16
4
4
  Summary: Official Python SDK for Transcodely — encode video to HLS, DASH and MP4 into your own S3, GCS or R2 bucket, with DRM and signed playback.
5
5
  Project-URL: Homepage, https://www.transcodely.com
6
6
  Project-URL: Documentation, https://www.transcodely.com/docs
@@ -540,6 +540,14 @@ except TranscodelyError as err:
540
540
  print(f"[{err.request_id}] {err.code}: {err}")
541
541
  ```
542
542
 
543
+ Every validation refusal, whether the request schema, a codec check or a feature
544
+ rule caught it, comes back as an `InvalidRequestError` listing every bad field
545
+ at once. Each violation's `description` starts with that field's error code in
546
+ brackets, for example `[parameter_out_of_range] value must be ...`, and `code`
547
+ holds the error type, such as `validation_error`, `invalid_request_error`,
548
+ `codec_error` or `feature_error`. A refusal that names no field carries no
549
+ detail, so its code is empty. `type` holds the Connect code, `invalid_argument`.
550
+
543
551
  | Class | Status | When |
544
552
  |---|---|---|
545
553
  | `APIConnectionError` | — | Network / DNS / TLS failure |
@@ -503,6 +503,14 @@ except TranscodelyError as err:
503
503
  print(f"[{err.request_id}] {err.code}: {err}")
504
504
  ```
505
505
 
506
+ Every validation refusal, whether the request schema, a codec check or a feature
507
+ rule caught it, comes back as an `InvalidRequestError` listing every bad field
508
+ at once. Each violation's `description` starts with that field's error code in
509
+ brackets, for example `[parameter_out_of_range] value must be ...`, and `code`
510
+ holds the error type, such as `validation_error`, `invalid_request_error`,
511
+ `codec_error` or `feature_error`. A refusal that names no field carries no
512
+ detail, so its code is empty. `type` holds the Connect code, `invalid_argument`.
513
+
506
514
  | Class | Status | When |
507
515
  |---|---|---|
508
516
  | `APIConnectionError` | — | Network / DNS / TLS failure |
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "transcodely"
7
- version = "0.3.15"
7
+ version = "0.3.16"
8
8
  description = "Official Python SDK for Transcodely — encode video to HLS, DASH and MP4 into your own S3, GCS or R2 bucket, with DRM and signed playback."
9
9
  readme = "README.md"
10
10
  license = "MIT"
@@ -25,7 +25,7 @@ def map_http_error(*, status: int, body: Any, headers: Mapping[str, str]) -> Tra
25
25
  request_id = _header(headers, "x-request-id")
26
26
  parsed = _parse_body(body)
27
27
  message = parsed.get("message") or f"HTTP {status}"
28
- detail = (parsed.get("details") or [{}])[0].get("debug") or {}
28
+ detail = _error_details(parsed.get("details"))
29
29
  code = detail.get("code")
30
30
  raw_violations = detail.get("field_violations") or detail.get("fieldViolations") or []
31
31
  violations = [
@@ -77,6 +77,33 @@ def connection_error(cause: BaseException, message: str | None = None) -> APICon
77
77
  return err
78
78
 
79
79
 
80
+ _ERROR_DETAILS_TYPE = "transcodely.v1.ErrorDetails"
81
+
82
+
83
+ def _error_details(details: Any) -> dict[str, Any]:
84
+ """Return the debug payload of the first ErrorDetails detail, or ``{}``.
85
+
86
+ A detail is read when its type names ErrorDetails, or when it has no type
87
+ (bodies that omit it). A detail of any other type, or one that is not an
88
+ object, is skipped, so the error degrades to its message instead of taking
89
+ a foreign detail's fields.
90
+ """
91
+ if not isinstance(details, list):
92
+ return {}
93
+ for d in details:
94
+ if not isinstance(d, dict):
95
+ continue
96
+ typ = d.get("type")
97
+ if (
98
+ typ is None
99
+ or typ == _ERROR_DETAILS_TYPE
100
+ or str(typ).endswith("/" + _ERROR_DETAILS_TYPE)
101
+ ):
102
+ debug = d.get("debug")
103
+ return debug if isinstance(debug, dict) else {}
104
+ return {}
105
+
106
+
80
107
  def _parse_body(body: Any) -> dict[str, Any]:
81
108
  if isinstance(body, dict):
82
109
  return body
@@ -140,23 +140,27 @@ from transcodely.v1.common_pb2 import (
140
140
  VideoCodec,
141
141
  )
142
142
 
143
- # ``ContentAwareConfig`` turns on per-title encoding for one output: the worker
144
- # finds the CRF this source needs to reach the VMAF target and encodes the
145
- # declared ladder at it, priced at 1.5x. The ladder is unchanged, so the price
146
- # quoted at create still holds, and what the search decided comes back on
147
- # ``report.content_aware``.
143
+ # ``ContentAwareConfig`` tunes one output's encode to its content, billed at 1.5x
144
+ # when the analysis shapes the encode. Both modes are accepted at create.
145
+ #
146
+ # ``CONTENT_AWARE_MODE_PER_TITLE``: the worker finds the CRF this source needs to reach the VMAF
147
+ # target and encodes the declared ladder at it. The ladder is unchanged, so the
148
+ # price quoted at create still holds. It needs at least one video rendition that
149
+ # is not pinned to an explicit bitrate (``parameter_incompatible`` at create) and
150
+ # a source of at least 120 seconds (``per_title_source_too_short``, at probe).
148
151
  #
149
- # ``ContentAwareMode.CONTENT_AWARE_MODE_PER_TITLE`` is accepted.
150
- # ``CONTENT_AWARE_MODE_AUTO_ABR`` is still rejected at create with
151
- # InvalidArgument — rule ``parameter_unsupported`` on
152
- # ``outputs[i].content_aware`` — because it would change the number of
153
- # renditions after the job was quoted per rendition. ``AutoABRConfig`` is
154
- # re-exported for that mode and has no effect until it ships.
155
- # See https://github.com/transcodely/api/issues/167.
152
+ # ``CONTENT_AWARE_MODE_AUTO_ABR`` (hls, dash or adaptive outputs only): declare one seed video
153
+ # rendition with no resolution, width, height or bitrate, plus optional bounds in
154
+ # ``AutoABRConfig``. The API expands the seed into a ceiling of standard rungs
155
+ # (480p up to 1080p by default, never above the source), the worker drops the
156
+ # rungs the content does not need, and you are billed for the rungs rendered,
157
+ # never above the estimate. On a source too short to analyse, the whole ceiling
158
+ # renders at the quality tier's static settings and is billed at 1.0x.
156
159
  #
157
- # Per-title also needs at least one video rendition that is not pinned to an
158
- # explicit bitrate (``parameter_incompatible`` at create) and a source of at
159
- # least 120 seconds (``per_title_source_too_short``, at probe).
160
+ # Either mode is refused with ``parameter_forbidden`` on an output that has an
161
+ # ``HDR_MODE_TONEMAP`` variant, and an auto_abr block sent with per_title is
162
+ # refused the same way. What the analysis decided comes back on
163
+ # ``report.content_aware``.
160
164
  from transcodely.v1.content_aware_pb2 import (
161
165
  AutoABRConfig,
162
166
  ContentAnalysis,
@@ -26,7 +26,7 @@ from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
26
26
  from transcodely.v1 import common_pb2 as transcodely_dot_v1_dot_common__pb2
27
27
 
28
28
 
29
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"transcodely/v1/content_aware.proto\x12\x0etranscodely.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1btranscodely/v1/common.proto\"\xb1\x02\n\rAutoABRConfig\x12\x31\n\x0cmin_variants\x18\x01 \x01(\x05\x42\t\xbaH\x06\x1a\x04\x18\x14(\x02H\x00R\x0bminVariants\x88\x01\x01\x12\x31\n\x0cmax_variants\x18\x02 \x01(\x05\x42\t\xbaH\x06\x1a\x04\x18\x14(\x02H\x01R\x0bmaxVariants\x88\x01\x01\x12K\n\x0emin_resolution\x18\x03 \x01(\x0e\x32\x1a.transcodely.v1.ResolutionB\x08\xbaH\x05\x82\x01\x02\x10\x01R\rminResolution\x12K\n\x0emax_resolution\x18\x04 \x01(\x0e\x32\x1a.transcodely.v1.ResolutionB\x08\xbaH\x05\x82\x01\x02\x10\x01R\rmaxResolutionB\x0f\n\r_min_variantsB\x0f\n\r_max_variants\"\xf2\x01\n\x12\x43ontentAwareConfig\x12\x41\n\x04mode\x18\x01 \x01(\x0e\x32 .transcodely.v1.ContentAwareModeB\x0b\xbaH\x08\x82\x01\x02\x10\x01\xc8\x01\x01R\x04mode\x12=\n\x0bvmaf_target\x18\x02 \x01(\x01\x42\x17\xbaH\x14\x12\x12\x19\x00\x00\x00\x00\x00@X@)\x00\x00\x00\x00\x00\x00T@H\x00R\nvmafTarget\x88\x01\x01\x12=\n\x08\x61uto_abr\x18\x03 \x01(\x0b\x32\x1d.transcodely.v1.AutoABRConfigH\x01R\x07\x61utoAbr\x88\x01\x01\x42\x0e\n\x0c_vmaf_targetB\x0b\n\t_auto_abr\"\xa7\x01\n\x0f\x43ontentAnalysis\x12)\n\x10\x63omplexity_score\x18\x01 \x01(\x01R\x0f\x63omplexityScore\x12!\n\x0cmotion_score\x18\x02 \x01(\x01R\x0bmotionScore\x12#\n\rtexture_score\x18\x03 \x01(\x01R\x0ctextureScore\x12!\n\x0c\x63ontent_type\x18\x04 \x01(\tR\x0b\x63ontentType*y\n\x10\x43ontentAwareMode\x12\"\n\x1e\x43ONTENT_AWARE_MODE_UNSPECIFIED\x10\x00\x12 \n\x1c\x43ONTENT_AWARE_MODE_PER_TITLE\x10\x01\x12\x1f\n\x1b\x43ONTENT_AWARE_MODE_AUTO_ABR\x10\x02\x62\x06proto3')
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\"transcodely/v1/content_aware.proto\x12\x0etranscodely.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1btranscodely/v1/common.proto\"\xb1\x02\n\rAutoABRConfig\x12\x31\n\x0cmin_variants\x18\x01 \x01(\x05\x42\t\xbaH\x06\x1a\x04\x18\x14(\x01H\x00R\x0bminVariants\x88\x01\x01\x12\x31\n\x0cmax_variants\x18\x02 \x01(\x05\x42\t\xbaH\x06\x1a\x04\x18\x14(\x01H\x01R\x0bmaxVariants\x88\x01\x01\x12K\n\x0emin_resolution\x18\x03 \x01(\x0e\x32\x1a.transcodely.v1.ResolutionB\x08\xbaH\x05\x82\x01\x02\x10\x01R\rminResolution\x12K\n\x0emax_resolution\x18\x04 \x01(\x0e\x32\x1a.transcodely.v1.ResolutionB\x08\xbaH\x05\x82\x01\x02\x10\x01R\rmaxResolutionB\x0f\n\r_min_variantsB\x0f\n\r_max_variants\"\xf2\x01\n\x12\x43ontentAwareConfig\x12\x41\n\x04mode\x18\x01 \x01(\x0e\x32 .transcodely.v1.ContentAwareModeB\x0b\xbaH\x08\x82\x01\x02\x10\x01\xc8\x01\x01R\x04mode\x12=\n\x0bvmaf_target\x18\x02 \x01(\x01\x42\x17\xbaH\x14\x12\x12\x19\x00\x00\x00\x00\x00@X@)\x00\x00\x00\x00\x00\x00T@H\x00R\nvmafTarget\x88\x01\x01\x12=\n\x08\x61uto_abr\x18\x03 \x01(\x0b\x32\x1d.transcodely.v1.AutoABRConfigH\x01R\x07\x61utoAbr\x88\x01\x01\x42\x0e\n\x0c_vmaf_targetB\x0b\n\t_auto_abr\"\xa7\x01\n\x0f\x43ontentAnalysis\x12)\n\x10\x63omplexity_score\x18\x01 \x01(\x01R\x0f\x63omplexityScore\x12!\n\x0cmotion_score\x18\x02 \x01(\x01R\x0bmotionScore\x12#\n\rtexture_score\x18\x03 \x01(\x01R\x0ctextureScore\x12!\n\x0c\x63ontent_type\x18\x04 \x01(\tR\x0b\x63ontentType*y\n\x10\x43ontentAwareMode\x12\"\n\x1e\x43ONTENT_AWARE_MODE_UNSPECIFIED\x10\x00\x12 \n\x1c\x43ONTENT_AWARE_MODE_PER_TITLE\x10\x01\x12\x1f\n\x1b\x43ONTENT_AWARE_MODE_AUTO_ABR\x10\x02\x62\x06proto3')
30
30
 
31
31
  _globals = globals()
32
32
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -34,9 +34,9 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'transcodely.v1.content_awar
34
34
  if not _descriptor._USE_C_DESCRIPTORS:
35
35
  DESCRIPTOR._loaded_options = None
36
36
  _globals['_AUTOABRCONFIG'].fields_by_name['min_variants']._loaded_options = None
37
- _globals['_AUTOABRCONFIG'].fields_by_name['min_variants']._serialized_options = b'\272H\006\032\004\030\024(\002'
37
+ _globals['_AUTOABRCONFIG'].fields_by_name['min_variants']._serialized_options = b'\272H\006\032\004\030\024(\001'
38
38
  _globals['_AUTOABRCONFIG'].fields_by_name['max_variants']._loaded_options = None
39
- _globals['_AUTOABRCONFIG'].fields_by_name['max_variants']._serialized_options = b'\272H\006\032\004\030\024(\002'
39
+ _globals['_AUTOABRCONFIG'].fields_by_name['max_variants']._serialized_options = b'\272H\006\032\004\030\024(\001'
40
40
  _globals['_AUTOABRCONFIG'].fields_by_name['min_resolution']._loaded_options = None
41
41
  _globals['_AUTOABRCONFIG'].fields_by_name['min_resolution']._serialized_options = b'\272H\005\202\001\002\020\001'
42
42
  _globals['_AUTOABRCONFIG'].fields_by_name['max_resolution']._loaded_options = None
@@ -1,7 +1,7 @@
1
1
  """Version constants exposed at the top of the package."""
2
2
 
3
3
  #: SDK package version. Bumped by release-please from pyproject.toml.
4
- SDK_VERSION = "0.3.15" # x-release-please-version
4
+ SDK_VERSION = "0.3.16" # x-release-please-version
5
5
 
6
6
  #: Calendar-versioned API this release pins. Sent on every request as
7
7
  #: `Transcodely-Version`. Override per-client via ``api_version=``.
File without changes
File without changes