Skip to content

Commit

Permalink
recompile proto classes
Browse files Browse the repository at this point in the history
  • Loading branch information
ElDavoo authored Apr 3, 2024
1 parent 16f0340 commit 1ea759f
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 10 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,10 @@ After generating the protobuf python classes through `protoc`, from that same di

`protol --in-place --python-out ..\src\wa_crypt_tools\proto protoc --proto-path=. *.proto`

Linux:

`PATH="$(pwd):$PATH" protol --in-place --python-out ../src/wa_crypt_tools/proto protoc --proto-path=. *.proto`

Now all of the generated python classes should have their imports fixed.

---
Expand Down
4 changes: 2 additions & 2 deletions src/wa_crypt_tools/proto/C14_cipher_pb2.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'C14_cipher_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
if not _descriptor._USE_C_DESCRIPTORS:
DESCRIPTOR._loaded_options = None
_globals['_C14_CIPHER']._serialized_start = 20
_globals['_C14_CIPHER']._serialized_end = 129
4 changes: 2 additions & 2 deletions src/wa_crypt_tools/proto/C15_IV_pb2.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'C15_IV_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
if not _descriptor._USE_C_DESCRIPTORS:
DESCRIPTOR._loaded_options = None
_globals['_C15_IV']._serialized_start = 16
_globals['_C15_IV']._serialized_end = 36
4 changes: 2 additions & 2 deletions src/wa_crypt_tools/proto/backup_expiry_pb2.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'backup_expiry_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
if not _descriptor._USE_C_DESCRIPTORS:
DESCRIPTOR._loaded_options = None
_globals['_BACKUPEXPIRY']._serialized_start = 24
_globals['_BACKUPEXPIRY']._serialized_end = 1068
4 changes: 2 additions & 2 deletions src/wa_crypt_tools/proto/backup_prefix_pb2.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'backup_prefix_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
if not _descriptor._USE_C_DESCRIPTORS:
DESCRIPTOR._loaded_options = None
_globals['_BACKUPPREFIX']._serialized_start = 93
_globals['_BACKUPPREFIX']._serialized_end = 260
4 changes: 2 additions & 2 deletions src/wa_crypt_tools/proto/key_type_pb2.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
_globals = globals()
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'key_type_pb2', _globals)
if _descriptor._USE_C_DESCRIPTORS == False:
DESCRIPTOR._options = None
if not _descriptor._USE_C_DESCRIPTORS:
DESCRIPTOR._loaded_options = None
_globals['_KEY_TYPE']._serialized_start = 18
_globals['_KEY_TYPE']._serialized_end = 65

0 comments on commit 1ea759f

Please sign in to comment.