Skip to content

Commit 63e8c8e

Browse files
refactor: change typing style
1 parent c6ae84d commit 63e8c8e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

nisystemlink/clients/core/helpers/_minion_id.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,10 @@
22

33
"""Helper function to get minion ID from Salt configuration."""
44

5-
from typing import Optional
6-
75
from nisystemlink.clients.core._internal._path_constants import PathConstants
86

97

10-
def read_minion_id() -> Optional[str]:
8+
def read_minion_id() -> str | None:
119
"""Read the minion ID from the Salt configuration.
1210
1311
Returns:

0 commit comments

Comments
 (0)