src/nameko_prometheus/dependencies.py
def worker_setup(self, worker_ctx: WorkerContext) -> None:
        """
        Called before service worker starts.
        """
        self.worker_starts[worker_ctx] = time.perf_counter()

        Called before service worker starts.
        
Called before service worker starts.
Called before service worker starts .
def worker_setup(self, worker_ctx: WorkerContext) -> None:
        self.worker_starts[worker_ctx] = time.perf_counter()
def worker_setup ( self , worker_ctx : WorkerContext ) -> None : self . worker_starts [ worker_ctx ] = time . perf_counter ( )
Called before service worker starts.
Called before service worker starts .
"""
        Called before service worker starts.
        """
self
worker_ctx
WorkerContext