We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 843b36b commit 07ed4b0Copy full SHA for 07ed4b0
plugins/connection/aws_ssm.py
@@ -327,12 +327,12 @@
327
import string
328
import subprocess
329
import time
330
-from dataclasses import dataclass
331
from typing import Dict
332
from typing import List
333
from typing import NoReturn
334
from typing import Optional
335
from typing import Tuple
+from typing import TypedDict
336
337
try:
338
import boto3
@@ -436,10 +436,9 @@ def filter_ansi(line: str, is_windows: bool) -> str:
436
return line
437
438
439
-@dataclass
440
-class CommandResult:
+class CommandResult(TypedDict):
441
"""
442
- Custom dataclass for the executed command results.
+ A dictionary that contains the executed command results.
443
444
445
returncode: int
0 commit comments