mirror of
				https://github.com/ets-labs/python-dependency-injector.git
				synced 2025-11-04 09:57:37 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			275 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			275 B
		
	
	
	
		
			Python
		
	
	
	
	
	
import os
 | 
						|
 | 
						|
 | 
						|
class ApiClient:
 | 
						|
 | 
						|
    def __init__(self):
 | 
						|
        self.api_key = os.getenv('API_KEY')
 | 
						|
        self.timeout = os.getenv('TIMEOUT')
 | 
						|
 | 
						|
 | 
						|
class Service:
 | 
						|
 | 
						|
    def __init__(self):
 | 
						|
        self.api_client = ApiClient()
 | 
						|
 | 
						|
 | 
						|
if __name__ == '__main__':
 | 
						|
    service = Service()
 |