wrap up coretk type hinting

This commit is contained in:
Huy Pham 2020-01-15 12:59:54 -08:00
parent c1c580cdc4
commit 6ecffc465b
5 changed files with 10 additions and 18 deletions

View file

@ -5,7 +5,7 @@ import logging
import tkinter as tk
import webbrowser
from tkinter import ttk
from typing import TYPE_CHECKING, Any, Optional
from typing import TYPE_CHECKING, Any
import grpc
@ -59,7 +59,7 @@ class EmaneModelDialog(Dialog):
app: "Application",
node: core_pb2.Node,
model: str,
interface: Optional[int] = None,
interface: int = None,
):
super().__init__(master, app, f"{node.name} {model} Configuration", modal=True)
self.node = node