未验证 提交 0cea7b7d 编写于 作者: R risemeup1 提交者: GitHub

fix protobuf problem (#55305)

* fix protobuf problem

* fix protobuf problem
上级 ceb83562
...@@ -2538,8 +2538,10 @@ class DistributedStrategy: ...@@ -2538,8 +2538,10 @@ class DistributedStrategy:
google._upb._message.RepeatedScalarContainer google._upb._message.RepeatedScalarContainer
) )
else: else:
from google.protobuf.pyext import _message
RepeatedScalarContainer = ( RepeatedScalarContainer = (
google.protobuf.pyext._message.RepeatedScalarContainer _message.RepeatedScalarContainer
) )
for ff in config_fields: for ff in config_fields:
if isinstance( if isinstance(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册