Skip to content

Commit

Permalink
Ignore mypy import problems and use black
Browse files Browse the repository at this point in the history
  • Loading branch information
TOUFIKIzakarya committed Aug 1, 2024
1 parent e99f529 commit 8ff36cc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Packs/SekoiaXDR/Integrations/SekoiaXDR/SekoiaXDR.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

import json
import urllib3
import dateparser
import dateparser # type: ignore
from typing import Any, Dict, Tuple, List, Optional, cast
from datetime import datetime
import re
import pytz
import pytz # type: ignore

# Disable insecure warnings
urllib3.disable_warnings()
Expand Down Expand Up @@ -1209,7 +1209,9 @@ def get_asset_command(client: Client, args: Dict[str, Any]) -> CommandResults:
header = ["name", "uuid", "description"]
command_output = filter_dict_by_keys(asset, header)
readable_output = tableToMarkdown(
f"Asset {asset_uuid} have the following information:", command_output, headers=header
f"Asset {asset_uuid} have the following information:",
command_output,
headers=header,
)

return CommandResults(
Expand Down

0 comments on commit 8ff36cc

Please sign in to comment.