MCPcopy Create free account
hub / github.com/danielbeach/data-engineering-practice / main

Function main

Exercises/Exercise-5/main.py:4–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2
3
4def main():
5 host = "postgres"
6 database = "postgres"
7 user = "postgres"
8 pas = "postgres"
9 conn = psycopg2.connect(host=host, database=database, user=user, password=pas)
10 # your code here
11 cur = conn.cursor()
12
13
14if __name__ == "__main__":

Callers 1

main.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected