-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MNT Move import of krtc to within little used function.
- Loading branch information
1 parent
3b59475
commit 62a7106
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -56,8 +56,6 @@ | |
from typing import Any, Dict, Optional, List, Union, Tuple | ||
from io import BufferedReader | ||
|
||
from krtc import KerberosTicket | ||
|
||
from .exceptions import ElogFileFormatError | ||
|
||
if __debug__: | ||
|
@@ -222,6 +220,8 @@ def get_elog_kerberos_auth() -> Dict[str, str]: | |
Returns: | ||
auth (Dict[str, str]): Dictionary containing Kerberos authorization key. | ||
""" | ||
from krtc import KerberosTicket | ||
|
||
return KerberosTicket("[email protected]").getAuthHeaders() | ||
|
||
|
||
|