examples.service_example
Module Contents
Classes
Data
API
- examples.service_example.logger
None
- class examples.service_example.ServiceExample(service_name: str, instance_id: str, private_key: cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey)
Initialization
- _service_name: str
None
- _instance_id: str
None
- _private_key: cryptography.hazmat.primitives.asymmetric.rsa.RSAPrivateKey
None
- _method_call_count: int
None
- classmethod _handle_event_(topic: str, event: dict, target: list[str] | None = None, context: dict | None = None, trace_id: str | None = None) None
- test_method(**kwargs) str
- test_encrypt_method(**kwargs) str
- test_exception_method(**kwargs) str
- async test_async_method(**kwargs) str
- async async_method(**kwargs) int
- sync_method(**kwargs) int
- method_with_exception(**kwargs) None
- async_method_with_exception(**kwargs) None
- method_with_nuropb_exception(**kwargs) None