-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Version 5.2.0 - Protobuf Struct Update
### Added - Support for the `google.protobuf.Struct` message
- Loading branch information
1 parent
92dd3b0
commit 83dab4a
Showing
12 changed files
with
137 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
__version__ = '5.1.2' | ||
__version__ = '5.2.0-rc.1' | ||
|
||
__author__ = 'Thordur Matthiasson <[email protected]>' | ||
__license__ = 'MIT License' | ||
__copyright__ = 'Copyright 2019-2024 - CCP Games ehf' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# md5: 7b314132a19d0dc0845666a4261161ed | ||
# Auto-Generated file - DO NOT EDIT! | ||
# Source module: sandbox.test.googlestruct_pb2 | ||
# Generated at: 2024-09-19T12:21:16.292717 | ||
from __future__ import annotations | ||
__all__ = [ | ||
'StructMessage', | ||
] | ||
import dataclasses | ||
import datetime | ||
import enum | ||
from typing import * | ||
from protoplasm.casting import dictators | ||
from protoplasm import plasm | ||
|
||
from sandbox.test import googlestruct_pb2 as pb2 | ||
|
||
import logging | ||
log = logging.getLogger(__name__) | ||
|
||
|
||
@dataclasses.dataclass | ||
class StructMessage(plasm.DataclassBase): | ||
__proto_cls__ = pb2.StructMessage | ||
my_struct: Dict[str, Any] = dataclasses.field(default_factory=dict, metadata={'dictator': dictators.StructDictator, 'is_struct': True}) | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
syntax = "proto3"; | ||
|
||
package sandbox.test; | ||
|
||
import "google/protobuf/struct.proto"; | ||
|
||
|
||
message StructMessage { | ||
google.protobuf.Struct my_struct = 1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
syntax = "proto3"; | ||
|
||
package sandbox.test; | ||
|
||
import "google/protobuf/struct.proto"; | ||
|
||
|
||
message StructMessage { | ||
google.protobuf.Struct my_struct = 1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters