mirror of
https://github.com/mattermost/mattermost.git
synced 2026-02-03 20:40:00 -05:00
Go side: - Log hooks returned by Implemented() - Log each hook name -> ID mapping - Log OnActivate implementation status - Log OnActivate call flow Python side: - Log Implemented() return value - Log OnActivate gRPC receipt and handler invocation This is temporary debug logging to diagnose why OnActivate isn't being called for Python plugins. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
41 lines
2.6 KiB
Python
41 lines
2.6 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
# source: file.proto
|
|
# Protobuf Python Version: 6.31.1
|
|
"""Generated protocol buffer code."""
|
|
from google.protobuf import descriptor as _descriptor
|
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
from google.protobuf import runtime_version as _runtime_version
|
|
from google.protobuf import symbol_database as _symbol_database
|
|
from google.protobuf.internal import builder as _builder
|
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
_runtime_version.Domain.PUBLIC,
|
|
6,
|
|
31,
|
|
1,
|
|
'',
|
|
'file.proto'
|
|
)
|
|
# @@protoc_insertion_point(imports)
|
|
|
|
_sym_db = _symbol_database.Default()
|
|
|
|
|
|
|
|
|
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\nfile.proto\x12\x17mattermost.pluginapi.v1\"\xe8\x02\n\x08\x46ileInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x12\n\ncreator_id\x18\x02 \x01(\t\x12\x0f\n\x07post_id\x18\x03 \x01(\t\x12\x12\n\nchannel_id\x18\x04 \x01(\t\x12\x11\n\tcreate_at\x18\x05 \x01(\x03\x12\x11\n\tupdate_at\x18\x06 \x01(\x03\x12\x11\n\tdelete_at\x18\x07 \x01(\x03\x12\x0c\n\x04name\x18\x08 \x01(\t\x12\x11\n\textension\x18\t \x01(\t\x12\x0c\n\x04size\x18\n \x01(\x03\x12\x11\n\tmime_type\x18\x0b \x01(\t\x12\r\n\x05width\x18\x0c \x01(\x05\x12\x0e\n\x06height\x18\r \x01(\x05\x12\x19\n\x11has_preview_image\x18\x0e \x01(\x08\x12\x19\n\x0cmini_preview\x18\x0f \x01(\x0cH\x00\x88\x01\x01\x12\x16\n\tremote_id\x18\x10 \x01(\tH\x01\x88\x01\x01\x12\x10\n\x08\x61rchived\x18\x11 \x01(\x08\x42\x0f\n\r_mini_previewB\x0c\n\n_remote_id\"_\n\x12\x46ileUploadResponse\x12\x35\n\nfile_infos\x18\x01 \x03(\x0b\x32!.mattermost.pluginapi.v1.FileInfo\x12\x12\n\nclient_ids\x18\x02 \x03(\t\"*\n\x08\x46ileData\x12\x10\n\x08\x66ilename\x18\x01 \x01(\t\x12\x0c\n\x04\x64\x61ta\x18\x02 \x01(\x0c\x42XZVgithub.com/mattermost/mattermost/server/public/pluginapi/grpc/generated/go/pluginapiv1b\x06proto3')
|
|
|
|
_globals = globals()
|
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'file_pb2', _globals)
|
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
_globals['DESCRIPTOR']._serialized_options = b'ZVgithub.com/mattermost/mattermost/server/public/pluginapi/grpc/generated/go/pluginapiv1'
|
|
_globals['_FILEINFO']._serialized_start=40
|
|
_globals['_FILEINFO']._serialized_end=400
|
|
_globals['_FILEUPLOADRESPONSE']._serialized_start=402
|
|
_globals['_FILEUPLOADRESPONSE']._serialized_end=497
|
|
_globals['_FILEDATA']._serialized_start=499
|
|
_globals['_FILEDATA']._serialized_end=541
|
|
# @@protoc_insertion_point(module_scope)
|