- add example add, update, delete
This commit is contained in:
2
main.py
2
main.py
@@ -31,7 +31,7 @@ async def main():
|
||||
[print(i.as_dict()) for i in get_all_nodes_for_testing]
|
||||
|
||||
get_node_by_id = await mtr_additional_query.get_node_by_id(21)
|
||||
print("==== get_all_nodes_for_testing ====")
|
||||
print("==== get_node_by_id ====")
|
||||
print(get_node_by_id.as_dict())
|
||||
|
||||
|
||||
|
||||
@@ -54,6 +54,3 @@ class DbConnector:
|
||||
|
||||
def get_db(self):
|
||||
return self.async_session_local
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user