You might want to check out the changes made to `examples/language-analyzer.go` and `examples/language-analyzer.py` in the [comparison view](https://github.com/src-d/lookout-sdk/compare/v0.5.0...v0.6.1files_bucket).
Go SDK
Except for using `pb.DialContext` and `pb.NewServer` or their corresponding `pb.DialContextWithInterceptors` and `pb.NewServerWithInterceptors`, you don't have anything else to do in order to activate the audit trail.
Python SDK
Follow these steps to activate the audit trail.
1. Rename the following:
- `NotifyReviewEvent` -> `notify_review_event`,
- `NotifyPushEvent` -> `notify_push_event`.
2. Use `create_server`.
3. Use `DataStub` imported from `lookout.sdk.service_data` and not from `pb`. The returned stub has a more pythonic api. You have to rename the following calls:
- `GetChanges` -> `get_changes`,
- `GetFiles` -> `get_files`.
Both methods needs as first positional argument the context.