File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed
packages/service-library/src/servicelib Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -78,9 +78,10 @@ def format(self, record) -> str:
7878 if hasattr (record , "file_name_override" ):
7979 record .filename = record .file_name_override
8080
81+ # pylint: disable=no-member
8182 optional_keys = LogExtra .__optional_keys__ | frozenset (
8283 ["otelTraceID" , "otelSpanID" ]
83- ) # pylint: disable=no-member
84+ )
8485 for name in optional_keys :
8586 if not hasattr (record , name ):
8687 setattr (record , name , None )
Original file line number Diff line number Diff line change 11from ..._errors import RPCInterfaceError
22
33
4- class BaseRpcError (RPCInterfaceError ):
4+ class BaseRpcError (RPCInterfaceError ): # pylint: disable=too-many-ancestors
55 pass
66
77
8- class ComputationalTaskMissingError (BaseRpcError ):
8+ class ComputationalTaskMissingError (BaseRpcError ): # pylint: disable=too-many-ancestors
99 msg_template = "Computational run not found for project {project_id}"
Original file line number Diff line number Diff line change 11from ..._errors import RPCInterfaceError
22
33
4- class ProjectNotFoundRpcError (RPCInterfaceError ): ...
4+ class ProjectNotFoundRpcError ( # pylint: disable=too-many-ancestors
5+ RPCInterfaceError
6+ ): ...
57
68
7- class ProjectForbiddenRpcError (RPCInterfaceError ): ...
9+ class ProjectForbiddenRpcError ( # pylint: disable=too-many-ancestors
10+ RPCInterfaceError
11+ ): ...
You can’t perform that action at this time.
0 commit comments