Add sonde feature

This commit is contained in:
Colin Goutte 2021-09-22 11:31:03 +02:00
parent 546733d998
commit d1730c9c5b
1 changed files with 1 additions and 0 deletions

View File

@ -26,4 +26,5 @@ def read_item(item_id: int, q: Optional[str] = None):
@app.post("/sonde/")
def post_sonde(sonde: Sonde):
print(sonde)
sondes.append(sonde)
return