Print tags

This commit is contained in:
DingZQ
2023-04-06 22:26:01 +08:00
parent 9d6b685439
commit 8d15df4a3b

View File

@@ -952,7 +952,9 @@ async def fastapi_get_tag(network: str, t_type: str, id: str) -> dict[str, Any]:
@app.get('/gettags/')
async def fastapi_get_tags(network: str) -> list[dict[str, Any]]:
return get_tags(network)
tags = get_tags(network)
print(tags)
return tags
# example:
# set_tag(p, ChangeSet({'t_type': TAG_TYPE_NODE, 'id': 'j1', 'tag': 'j1t' }))