Skip to content

Commit 98fa99c

Browse files
committed
Don't warn about missing api key at package loading
1 parent 2b32d0f commit 98fa99c

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

src/entsoe/config/config.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -138,13 +138,6 @@ def __init__(
138138
security_token = env_token
139139
logger.success("Security token loaded from environment.")
140140

141-
if security_token is None:
142-
logger.warning(
143-
"Security token not provided. Please provide it explicitly using "
144-
'entsoe.set_config("<security_token>") or set '
145-
"the ENTSOE_API environment variable."
146-
)
147-
148141
# Validate security token format (UUID)
149142
if security_token is not None:
150143
try:

0 commit comments

Comments
 (0)