kraken: drop console setup, now done during brokerd init
							parent
							
								
									d4af6589af
								
							
						
					
					
						commit
						ba901e6ef5
					
				| 
						 | 
					@ -69,7 +69,6 @@ from .api import (
 | 
				
			||||||
    get_client,
 | 
					    get_client,
 | 
				
			||||||
)
 | 
					)
 | 
				
			||||||
from .feed import (
 | 
					from .feed import (
 | 
				
			||||||
    get_console_log,
 | 
					 | 
				
			||||||
    open_autorecon_ws,
 | 
					    open_autorecon_ws,
 | 
				
			||||||
    NoBsWs,
 | 
					    NoBsWs,
 | 
				
			||||||
    stream_messages,
 | 
					    stream_messages,
 | 
				
			||||||
| 
						 | 
					@ -425,9 +424,6 @@ async def trades_dialogue(
 | 
				
			||||||
 | 
					
 | 
				
			||||||
) -> AsyncIterator[dict[str, Any]]:
 | 
					) -> AsyncIterator[dict[str, Any]]:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # XXX: required to propagate ``tractor`` loglevel to ``piker`` logging
 | 
					 | 
				
			||||||
    get_console_log(loglevel or tractor.current_actor().loglevel)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    async with get_client() as client:
 | 
					    async with get_client() as client:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if not client._api_key:
 | 
					        if not client._api_key:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue