mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2026-01-31 01:51:53 +08:00
new typing style
This commit is contained in:
@@ -22,8 +22,6 @@
|
||||
|
||||
import io
|
||||
|
||||
from typing import Dict
|
||||
|
||||
import pyrad.client
|
||||
import pyrad.packet
|
||||
import pyrad.dictionary
|
||||
@@ -413,7 +411,7 @@ class Plugin(BaseAuthService):
|
||||
self.__timeout = timeout
|
||||
|
||||
@classmethod
|
||||
def get_plugin_options(cls) -> Dict:
|
||||
def get_plugin_options(cls) -> dict:
|
||||
return {
|
||||
"host": Option("localhost", type=valid_ip_or_host),
|
||||
"port": Option(1812, type=valid_port),
|
||||
|
||||
Reference in New Issue
Block a user