You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I determined this is the correct repository in which to report this bug.
Summary of the issue
Context
The google-cloud-dataplex package depends on a protobuf wrapper package called proto-plus. Recent versions of the proto-plus dependency change the expected types of some google.cloud.dataplex_v1 objects.
In particular, when using proto-plus >= 1.24, the type of google.cloud.dataplex_v1.Aspect.data is proto.marshal.collections.maps.MapComposite rather than the documentedgoogle.protobuf.struct_pb2.Struct.
Expected Behavior:
The type of google.cloud.dataplex_v1.Aspect.data should be google.protobuf.struct_pb2.Struct. This works with proto-plus==1.23.0.
Determine this is the right repository
Summary of the issue
Context
The
google-cloud-dataplex
package depends on a protobuf wrapper package calledproto-plus
. Recent versions of theproto-plus
dependency change the expected types of somegoogle.cloud.dataplex_v1
objects.In particular, when using
proto-plus >= 1.24
, the type ofgoogle.cloud.dataplex_v1.Aspect.data
isproto.marshal.collections.maps.MapComposite
rather than the documentedgoogle.protobuf.struct_pb2.Struct
.Expected Behavior:
The type of
google.cloud.dataplex_v1.Aspect.data
should begoogle.protobuf.struct_pb2.Struct
. This works withproto-plus==1.23.0
.Actual Behavior:
The type of
google.cloud.dataplex_v1.Aspect.data
isproto.marshal.collections.maps.MapComposite
when usingproto-plus>=1.24.0
.API client name and version
google-cloud-dataplex v2.6.0
Reproduction steps: code
file: main.py
Reproduction steps: supporting files
Reproduction steps: actual results
<class 'proto.marshal.collections.maps.MapComposite'>
Reproduction steps: expected results
<class 'google.protobuf.struct_pb2.Struct'>
OS & version + platform
No response
Python environment
Python 3.10.15
Python dependencies
google-cloud-dataplex 2.6.0
proto-plus 1.24.0
Additional context
This problem does not occur when using
proto-plus
v1.23.0.The text was updated successfully, but these errors were encountered: