Update main.py
Browse files
main.py
CHANGED
@@ -134,7 +134,7 @@ def raw_sql(raw_sql: RawSql):
|
|
134 |
print("Received raw_sql request")
|
135 |
return bkend.raw_sql(raw_sql.raw_sql)
|
136 |
|
137 |
-
@app.
|
138 |
def walk(path: PathRequest):
|
139 |
print("Received walk request")
|
140 |
items=os.walk(path.dir)
|
|
|
134 |
print("Received raw_sql request")
|
135 |
return bkend.raw_sql(raw_sql.raw_sql)
|
136 |
|
137 |
+
@app.post(api_base+"/walk")
|
138 |
def walk(path: PathRequest):
|
139 |
print("Received walk request")
|
140 |
items=os.walk(path.dir)
|