We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41f1ece commit ec3c836Copy full SHA for ec3c836
1 file changed
main.py
@@ -1,3 +1,5 @@
1
+import logging
2
+
3
from models.com.nokia.eda.interfaces.v1alpha1 import (
4
Interface,
5
Member,
@@ -6,11 +8,16 @@
6
8
)
7
9
from src.client import Client
10
11
+logging.basicConfig(
12
+ level=logging.INFO, format="%(asctime)s - %(name)s - %(levelname)s - %(message)s"
13
+)
14
+logger = logging.getLogger(__name__)
15
16
17
def main():
18
c = Client(base_url="https://devbox.panda-cobra.ts.net")
19
c.auth()
- print(f"Access Token: {c.token}")
20
+ logger.info(f"Access Token: {c.token}")
21
22
# iface = Interface(
23
# apiVersion="interfaces.eda.nokia.com/v1alpha1",
0 commit comments