[After big python split] Update interface of schemas.operation:BaseOperation

!230 (comment 189659)

for swift conversions:

@classmethod
def from_proto(cls, proto_model: operation_pb2.operation) -> Self: ...

def to_proto(self) -> operation_pb2.operation: ...