Add subcription feature
This commit is contained in:
@@ -860,9 +860,9 @@ class InventoryServiceClient(BaseServiceClient):
|
||||
|
||||
|
||||
# Factory function for dependency injection
|
||||
def create_inventory_client(config: BaseServiceSettings) -> InventoryServiceClient:
|
||||
def create_inventory_client(config: BaseServiceSettings, service_name: str = "unknown") -> InventoryServiceClient:
|
||||
"""Create inventory service client instance"""
|
||||
return InventoryServiceClient(config)
|
||||
return InventoryServiceClient(config, calling_service_name=service_name)
|
||||
|
||||
|
||||
# Convenience function for quick access (requires config to be passed)
|
||||
|
||||
Reference in New Issue
Block a user