Skip to content

Commit dd470a0

Browse files
committed
missed type annotation for python3.5 compatibility
1 parent d0d9105 commit dd470a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

restapi.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ def __str__(self):
3737
return self.error_message
3838

3939

40-
def get_pod() -> Pod:
40+
def get_pod():
4141
global g_pod
4242
try:
4343
if g_pod is None:
@@ -54,7 +54,7 @@ def get_pod() -> Pod:
5454
return None
5555

5656

57-
def get_pdm() -> Pdm:
57+
def get_pdm():
5858
global g_pdm
5959
try:
6060
if g_pdm is None:

0 commit comments

Comments
 (0)