Skip to content

Commit 7f5829e

Browse files
authored
Update python script example (#280)
This change remove the hardcoded password usage from examples. Signed-off-by: Shard Gupta <shardga@amazon.com>
1 parent 4c42136 commit 7f5829e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

_client/python.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ Then, the example creates a connection with the SQL Server host. The syntax of t
6868
server = 'host.example.com'
6969
database = 'postgres'
7070
username = 'postgres'
71-
password = '1safepassword'
71+
password = '********'
7272

7373
# Establish a connection
7474
try:
@@ -215,7 +215,7 @@ server = 'host.example.com'
215215
port = 1433
216216
database = 'master'
217217
username = 'babelfish_user'
218-
password = '1safepassword'
218+
password = '********'
219219

220220
pg_database = "babelfish_db"
221221
pg_schema = "master_dbo"

assets/examples/tds.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
server = 'localhost'
99
port = 1433
1010
database = 'master'
11-
username = 'babelfish_user'
12-
password = '12345678'
11+
username = '<user_name>'
12+
password = '********'
1313

1414
pg_database = "babelfish_db"
1515
pg_schema = "master_dbo"
@@ -79,4 +79,4 @@ def main():
7979
print("{}".format(row))
8080

8181
if __name__ == "__main__":
82-
main()
82+
main()

0 commit comments

Comments
 (0)