Sebastian Buczyński
Sebastian Buczyński
Play around with API. The first attempt assumes using `ContextVars` and context managers: ```python from event_sourcery.event_store.context import event_sourcery_context with event_sourcery_context(tenant_id=1): # do sth as tenant_1, e.g. create streams etc ```...
There is not much content in this chapter which actually... is a good thing here. It shows one specific, yet crucial thing - [semi-manual] deployment pipeline with testing in staging...
 
Whenever I use Lagom, I find myself writing repetitive fixture code, like: ``` # container is a fixture defined elsewhere @pytest.fixture() def service(container: Container) -> Service: return container.resolve(Service) ``` I...