Reputation: 509
Still new to Python typing, what would be the correct type to replace the ??? here?
def update_sqlite(result: dict, db_connection: ???):
pass
with sqlite3.connect('../data/Reports.db') as report_db:
update_sqlite(result, report_db)
Upvotes: 5
Views: 2695