mirror of
				https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
				synced 2025-11-04 05:36:06 +00:00 
			
		
		
		
	code styling
This commit is contained in:
		@@ -252,8 +252,6 @@ async def lease(request: Request):
 | 
			
		||||
# venv/lib/python3.9/site-packages/nls_core_lease/lease_single.py
 | 
			
		||||
@app.put('/leasing/v1/lease/{lease_ref}')
 | 
			
		||||
async def lease_renew(request: Request, lease_ref: str):
 | 
			
		||||
    print('> renew')
 | 
			
		||||
 | 
			
		||||
    cur_time = datetime.utcnow()
 | 
			
		||||
 | 
			
		||||
    response = {
 | 
			
		||||
@@ -291,7 +289,6 @@ if __name__ == '__main__':
 | 
			
		||||
    #
 | 
			
		||||
    ###
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
    print(f'> Starting dev-server ...')
 | 
			
		||||
 | 
			
		||||
    ssl_keyfile = 'cert/webserver.key'
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user