mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 05:52:55 +00:00 
			
		
		
		
	Separate the handling of envvars by prefix
This commit is contained in:
		
							
								
								
									
										0
									
								
								lib/tao/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								lib/tao/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										1
									
								
								lib/tao/config/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								lib/tao/config/__init__.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
from .envvars import *
 | 
			
		||||
							
								
								
									
										3
									
								
								lib/tao/config/envvars.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								lib/tao/config/envvars.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
from envvars import generate_namedtuple_from_prefixed_envvars
 | 
			
		||||
 | 
			
		||||
taoenv = generate_namedtuple_from_prefixed_envvars('AVATAO_', 'taoenvtuple')
 | 
			
		||||
		Reference in New Issue
	
	Block a user