Skip to content

Commit 43ce58c

Browse files
committed
chore: some pylance errors
Signed-off-by: exploreriii <[email protected]>
1 parent d51de3e commit 43ce58c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

examples/token_airdrop_claim_signature_not_required_auto.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ def setup_client():
5656
network = Network(network_name)
5757
client = Client(network)
5858

59-
operator_id = AccountId.from_string(os.getenv("OPERATOR_ID"))
60-
operator_key = PrivateKey.from_string(os.getenv("OPERATOR_KEY"))
59+
operator_id = AccountId.from_string(os.getenv("OPERATOR_ID", ''))
60+
operator_key = PrivateKey.from_string(os.getenv("OPERATOR_KEY", ''))
6161
client.set_operator(operator_id, operator_key)
6262

6363
except Exception as e:

examples/token_airdrop_claim_signature_required.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ def setup_client():
6565
network = Network(network_name)
6666
client = Client(network)
6767

68-
operator_id = AccountId.from_string(os.getenv("OPERATOR_ID"))
69-
operator_key = PrivateKey.from_string(os.getenv("OPERATOR_KEY"))
68+
operator_id = AccountId.from_string(os.getenv("OPERATOR_ID", ''))
69+
operator_key = PrivateKey.from_string(os.getenv("OPERATOR_KEY", ''))
7070
client.set_operator(operator_id, operator_key)
7171

7272
except Exception as e:

0 commit comments

Comments
 (0)