* format files Signed-off-by: Jens Langhammer <jens@goauthentik.io> * fix pyright Signed-off-by: Jens Langhammer <jens@goauthentik.io> * revert #8367 Signed-off-by: Jens Langhammer <jens@goauthentik.io> * sigh Signed-off-by: Jens Langhammer <jens@goauthentik.io> --------- Signed-off-by: Jens Langhammer <jens@goauthentik.io>
		
			
				
	
	
		
			17 lines
		
	
	
		
			341 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			341 B
		
	
	
	
		
			Python
		
	
	
	
	
	
"""Wrapper for lifecycle/ak, to be installed by poetry"""
 | 
						|
 | 
						|
from os import system
 | 
						|
from pathlib import Path
 | 
						|
from sys import argv
 | 
						|
 | 
						|
 | 
						|
def main():
 | 
						|
    """Wrapper around ak bash script"""
 | 
						|
    current_path = Path(__file__)
 | 
						|
    args = " ".join(argv[1:])
 | 
						|
    system(f"{current_path.parent}/ak {args}")  # nosec
 | 
						|
 | 
						|
 | 
						|
if __name__ == "__main__":
 | 
						|
    main()
 |