django_socio_grpc.request_transformer.grpc_internal_container
Module Contents
Classes
This class is a simple container that allow us to pass some date throught the grpc -> servicer -> middleware -> service. To be able to work with django middleware if an attribute is not found (when getting or setting) on GRPCRequestContainer we look in the GRPCInternalProxyContext where we stock all the compatibility logic |
|
This class is a simple container that allow us to pass some date throught the service -> middleware -> servicer -> grpc. To be able to work with django middleware if an attribute is not found (when getting, setting or iteratinf) on GRPCResponseContainer we look in the GRPCInternalProxyResponse where we stock all the compatibility logic |
API
- class django_socio_grpc.request_transformer.grpc_internal_container.GRPCRequestContainer
This class is a simple container that allow us to pass some date throught the grpc -> servicer -> middleware -> service. To be able to work with django middleware if an attribute is not found (when getting or setting) on GRPCRequestContainer we look in the GRPCInternalProxyContext where we stock all the compatibility logic
- grpc_request: google.protobuf.message.Message
None
- service: django_socio_grpc.services.Service
None
- __getattr__(attr)
See class documentation
- class django_socio_grpc.request_transformer.grpc_internal_container.GRPCResponseContainer
This class is a simple container that allow us to pass some date throught the service -> middleware -> servicer -> grpc. To be able to work with django middleware if an attribute is not found (when getting, setting or iteratinf) on GRPCResponseContainer we look in the GRPCInternalProxyResponse where we stock all the compatibility logic
- __getattr__(attr)
See class documentation
- __aiter__()
- __iter__()