The issue is resolved. A local env setup issue. thank you. On Thursday, June 17, 2021 at 4:57:38 PM UTC-7 [email protected] wrote:
> My understanding is that api_implementation.Type() is supposed to indicate > whether the pure-Python or Python-C++ implementation is being used, and > will always return either 'python' or 'cpp'. Are you finding that it is > returning something else and thereby causing the symbol registration to be > skipped? > > On Wed, Jun 16, 2021 at 12:16 PM Arun Ramakrishnan <[email protected]> > wrote: > >> Hi folks, >> >> This >> <https://googleapis.dev/python/protobuf/latest/google/protobuf/symbol_database.html> >> python >> documentation for use of symbol database does not seem to work when the api >> implementation version is 2. The registration symbol in the pool is skipped >> here >> <https://github.com/protocolbuffers/protobuf/blob/3f5fc4df1de8e12b2235c3006593e22d6993c3f5/python/google/protobuf/symbol_database.py#L93-L95> >> . >> >> Is there a workaround for the registration to work ? Or should we not be >> using the symbol database when the api version is 2. >> >> thanks, >> Arun >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Protocol Buffers" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/protobuf/1407e35a-c2f0-4f62-87ec-03ef5828c447n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/protobuf/1407e35a-c2f0-4f62-87ec-03ef5828c447n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/7d21db31-a9ea-45aa-acb3-f8daf6b3f486n%40googlegroups.com.
