code styling
This commit is contained in:
parent
78ddaa56d3
commit
15acb6fdbe
@ -252,8 +252,6 @@ async def lease(request: Request):
|
|||||||
# venv/lib/python3.9/site-packages/nls_core_lease/lease_single.py
|
# venv/lib/python3.9/site-packages/nls_core_lease/lease_single.py
|
||||||
@app.put('/leasing/v1/lease/{lease_ref}')
|
@app.put('/leasing/v1/lease/{lease_ref}')
|
||||||
async def lease_renew(request: Request, lease_ref: str):
|
async def lease_renew(request: Request, lease_ref: str):
|
||||||
print('> renew')
|
|
||||||
|
|
||||||
cur_time = datetime.utcnow()
|
cur_time = datetime.utcnow()
|
||||||
|
|
||||||
response = {
|
response = {
|
||||||
@ -291,7 +289,6 @@ if __name__ == '__main__':
|
|||||||
#
|
#
|
||||||
###
|
###
|
||||||
|
|
||||||
|
|
||||||
print(f'> Starting dev-server ...')
|
print(f'> Starting dev-server ...')
|
||||||
|
|
||||||
ssl_keyfile = 'cert/webserver.key'
|
ssl_keyfile = 'cert/webserver.key'
|
||||||
|
Loading…
Reference in New Issue
Block a user