mirror of
				https://github.com/mealie-recipes/mealie.git
				synced 2025-11-04 03:03:18 -05:00 
			
		
		
		
	
		
			
	
	
		
			12 lines
		
	
	
		
			418 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
		
		
			
		
	
	
			12 lines
		
	
	
		
			418 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| 
								 | 
							
								# This Content is Auto Generated for Pytest
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								class AppRoutes:
							 | 
						||
| 
								 | 
							
								    def __init__(self) -> None:
							 | 
						||
| 
								 | 
							
								        self.prefix = '{{paths.prefix}}'
							 | 
						||
| 
								 | 
							
								{% for path in paths.static_paths %}
							 | 
						||
| 
								 | 
							
								        self.{{ path.router_slug }} = "{{path.prefix}}{{ path.route }}"{% endfor %}
							 | 
						||
| 
								 | 
							
								{% for path in paths.function_paths  %}
							 | 
						||
| 
								 | 
							
								    def {{path.router_slug}}(self, {{path.var|join(", ")}}):
							 | 
						||
| 
								 | 
							
								        return f"{self.prefix}{{ path.route }}"
							 | 
						||
| 
								 | 
							
								{% endfor %}
							 |