Skip to content

Commit 693c7d0

Browse files
committed
add comment for get_key()
1 parent 5ed5609 commit 693c7d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pythclient/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
DEFAULT_VERSION = "v2"
77

88

9+
# Retrieving keys via DNS TXT records should not be considered secure and is provided as a convenience only.
10+
# Accounts should be stored locally and verified before being used for production.
911
def get_key(network: str, type: str, version: str = DEFAULT_VERSION) -> Optional[str]:
1012
"""
1113
Get the program or mapping keys from dns TXT records.

0 commit comments

Comments
 (0)