GRPC Wrappers¶
The GRPC wrappers module provides low-level components for interacting with the Athena service via GRPC. These are consumed by the higher-level clients, you should only use them directly if you are implementing a new client.
See the athena-protobufs repository for more information about the protobuf definitions.
Service Clients¶
The ClassifierServiceClient provides direct access to Athena service methods:
client = ClassifierServiceClient(channel)
deployment_response = await client.list_deployments(request)
classify_response = await client.classify(request)
The list_deployments(request)
method lists available deployments for classification.
The classify(request)
method performs image classification using the configured deployment.