Merge pull request #3882 from SigmaHQ/fix-typing

Fixed type hint causing issues
This commit is contained in:
Thomas Patzke
2023-01-07 00:39:53 +01:00
committed by GitHub
+1 -1
View File
@@ -658,7 +658,7 @@ class LaceworkQuery:
return title, query_id
@staticmethod
def get_query_sources(logsource_name, logsource_config) -> list[str]:
def get_query_sources(logsource_name, logsource_config):
# 4. validate service has a source mapping
source = safe_get(logsource_config, 'source', str)
sources = safe_get(logsource_config, 'sources', list)