Drop ununsed `Services` ref
							parent
							
								
									9c5f7a6bb9
								
							
						
					
					
						commit
						35f7c3409a
					
				| 
						 | 
					@ -303,7 +303,7 @@ async def maybe_spawn_daemon(
 | 
				
			||||||
    **kwargs,
 | 
					    **kwargs,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
) -> tractor.Portal:
 | 
					) -> tractor.Portal:
 | 
				
			||||||
    """
 | 
					    '''
 | 
				
			||||||
    If no ``service_name`` daemon-actor can be found,
 | 
					    If no ``service_name`` daemon-actor can be found,
 | 
				
			||||||
    spawn one in a local subactor and return a portal to it.
 | 
					    spawn one in a local subactor and return a portal to it.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -314,7 +314,7 @@ async def maybe_spawn_daemon(
 | 
				
			||||||
    This can be seen as a service starting api for remote-actor
 | 
					    This can be seen as a service starting api for remote-actor
 | 
				
			||||||
    clients.
 | 
					    clients.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    """
 | 
					    '''
 | 
				
			||||||
    if loglevel:
 | 
					    if loglevel:
 | 
				
			||||||
        get_console_log(loglevel)
 | 
					        get_console_log(loglevel)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -423,7 +423,9 @@ async def maybe_spawn_brokerd(
 | 
				
			||||||
    **kwargs,
 | 
					    **kwargs,
 | 
				
			||||||
 | 
					
 | 
				
			||||||
) -> tractor.Portal:
 | 
					) -> tractor.Portal:
 | 
				
			||||||
    '''Helper to spawn a brokerd service.
 | 
					    '''
 | 
				
			||||||
 | 
					    Helper to spawn a brokerd service *from* a client
 | 
				
			||||||
 | 
					    who wishes to use the sub-actor-daemon.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    '''
 | 
					    '''
 | 
				
			||||||
    async with maybe_spawn_daemon(
 | 
					    async with maybe_spawn_daemon(
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -50,7 +50,7 @@ def pikerd(loglevel, host, tl, pdb, tsdb):
 | 
				
			||||||
            open_pikerd(
 | 
					            open_pikerd(
 | 
				
			||||||
                loglevel=loglevel,
 | 
					                loglevel=loglevel,
 | 
				
			||||||
                debug_mode=pdb,
 | 
					                debug_mode=pdb,
 | 
				
			||||||
            ) as services,
 | 
					            ),  # normally delivers a ``Services`` handle
 | 
				
			||||||
            trio.open_nursery() as n,
 | 
					            trio.open_nursery() as n,
 | 
				
			||||||
        ):
 | 
					        ):
 | 
				
			||||||
            if tsdb:
 | 
					            if tsdb:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -16,6 +16,7 @@
 | 
				
			||||||
 | 
					
 | 
				
			||||||
"""
 | 
					"""
 | 
				
			||||||
marketstore cli.
 | 
					marketstore cli.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
"""
 | 
					"""
 | 
				
			||||||
from typing import List
 | 
					from typing import List
 | 
				
			||||||
from functools import partial
 | 
					from functools import partial
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue