Skip to content

Commit

Permalink
fix optionality
Browse files Browse the repository at this point in the history
  • Loading branch information
coletdjnz committed Dec 26, 2024
1 parent 26fb229 commit d93d92a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yt_dlp_plugins/extractor/_ytse/protos/_sabr_context_update.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import typing
import protobug
from yt_dlp_plugins.extractor._ytse.protos import BufferedRange
from ._buffered_range import BufferedRange


@protobug.message
Expand All @@ -13,5 +13,5 @@ class ContextUpdate:
class SabrContextUpdate:
unknown_field_1: typing.Optional[protobug.Int32] = protobug.field(1, default=None) # seen = 2
unknown_field_2: typing.Optional[protobug.Int32] = protobug.field(2, default=None) # seen = 2
context_update: ContextUpdate = protobug.field(3, default_factory=ContextUpdate),
context_update: typing.Optional[ContextUpdate] = protobug.field(3, default_factory=ContextUpdate),
unknown_field_4: typing.Optional[protobug.Int32] = protobug.field(4, default=None) # seen = 1

0 comments on commit d93d92a

Please # to comment.