Skip to content

Commit

Permalink
remove old development code
Browse files Browse the repository at this point in the history
  • Loading branch information
mourginakis committed Nov 7, 2023
1 parent 1ec459a commit b13040c
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions node_monitor/node_provider_db2.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,19 +175,3 @@ def get_node_labels_as_dict(self) -> Dict[Principal, str]:

def close(self) -> None:
self.pool.closeall()



# if __name__ == "__main__":
# import load_config as c
# from pprint import pprint
# db = NodeProviderDB(c.DB_HOST, c.DB_NAME, c.DB_PORT, c.DB_USERNAME, c.DB_PASSWORD)
# pprint("---------------------------------")
# # db._validate_schema()
# result = db._execute("SELECT * FROM subscribers", ())
# pprint(result)
# pprint("---------------------------------")
# result = db.get_emails_as_dict()
# result = db.get_slack_channels_as_dict()
# result = db.get_node_labels_as_dict()
# pprint(result)

0 comments on commit b13040c

Please sign in to comment.