vysion 2.0.6__py3-none-any.whl → 2.0.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- vysion/dto/util.py +2 -2
- vysion/version.py +1 -1
- {vysion-2.0.6.dist-info → vysion-2.0.7.dist-info}/METADATA +2 -2
- {vysion-2.0.6.dist-info → vysion-2.0.7.dist-info}/RECORD +6 -6
- {vysion-2.0.6.dist-info → vysion-2.0.7.dist-info}/LICENSE +0 -0
- {vysion-2.0.6.dist-info → vysion-2.0.7.dist-info}/WHEEL +0 -0
vysion/dto/util.py
CHANGED
|
@@ -24,7 +24,7 @@ except:
|
|
|
24
24
|
|
|
25
25
|
import vysion.dto as dto
|
|
26
26
|
from vysion.dto import URL, DocumentHit, Page, RansomFeedHit
|
|
27
|
-
|
|
27
|
+
from typing import Union
|
|
28
28
|
|
|
29
29
|
class MISPProcessor:
|
|
30
30
|
def __init__(self):
|
|
@@ -111,7 +111,7 @@ class MISPProcessor:
|
|
|
111
111
|
|
|
112
112
|
self.misp_event.add_object(misp_object)
|
|
113
113
|
|
|
114
|
-
def process(self, result: dto.Result[DocumentHit
|
|
114
|
+
def process(self, result: dto.Result[Union[DocumentHit,RansomFeedHit]], **kwargs) -> MISPEvent:
|
|
115
115
|
|
|
116
116
|
processor = {
|
|
117
117
|
DocumentHit: self.parse_hit,
|
vysion/version.py
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: vysion
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.7
|
|
4
4
|
Summary: The official Python client library for Vysion
|
|
5
5
|
Home-page: https://vysion.ai
|
|
6
6
|
License: Apache-2.0
|
|
@@ -29,7 +29,7 @@ Welcome to the PyPi webpage for Vysion, our implementation as a Python library t
|
|
|
29
29
|
|
|
30
30
|
You can request a demo for the web app or an API-key to use in this library at [vysion.ai](https://vysion.ai).
|
|
31
31
|
|
|
32
|
-
Latest version: [2.0.
|
|
32
|
+
Latest version: [2.0.7](https://pypi.org/project/vysion/)
|
|
33
33
|
|
|
34
34
|
You can visit [the documentation](https://developers.vysion.ai/?python) for more information on the searches and requests performed with the library or directly on the API.
|
|
35
35
|
|
|
@@ -5,7 +5,7 @@ vysion/client/error.py,sha256=-3NGr9ngTGSy-ctqk6S9eMBAvtY3lnjv9i0KiuRjd5g,1158
|
|
|
5
5
|
vysion/dto/__init__.py,sha256=ct8JxVMfJ0APiOTgr9ju-JIuBlXOrPkx7n2qISSXUts,605
|
|
6
6
|
vysion/dto/dto.py,sha256=kRwN3ElHt0GxM4bHuGgDa-IFRqVul0R3CBDfZBh7R-s,13058
|
|
7
7
|
vysion/dto/tag.py,sha256=whGPsdasgYm8oijrL7MRSMmapzaoCmKNeaJ5ih0aBIk,1503
|
|
8
|
-
vysion/dto/util.py,sha256=
|
|
8
|
+
vysion/dto/util.py,sha256=yIooNK3TsbjSsla6JFLvnKBbahUymx87qpH3VKalKV0,4491
|
|
9
9
|
vysion/model/__init__.py,sha256=rJX9eNW9-jQGTgwm97W04jhZa-dV_dSTTTFcbWg73w0,606
|
|
10
10
|
vysion/model/enum/__init__.py,sha256=lhG6rgaYjrFBR8_IfJL0OoT0L7vooR5_ht4zUahQcOc,690
|
|
11
11
|
vysion/model/enum/languages.py,sha256=yrYDwLEM2lK5iqdLR16n8xeCeSmsCsIj4sTiuNz33FM,4204
|
|
@@ -15,8 +15,8 @@ vysion/model/enum/services.py,sha256=fUfZEO0RNNctU4Gzae5TV3c7BU5A_cEwaEb1tzqgcr0
|
|
|
15
15
|
vysion/taxonomy/__init__.py,sha256=Bc364AYxRCyjIn26-XBPeEDCPe3Hma4r5RAI8R8eblU,635
|
|
16
16
|
vysion/taxonomy/flavours.py,sha256=ubImHBE8v0zhzFy_2YozAQk2SzN1XDQwHAxb2RebtCo,2347
|
|
17
17
|
vysion/taxonomy/taxonomy.py,sha256=mG6vHX5Eyp38AKyJBgfBDqdpEmDMbkv8TA8YUBzko54,12227
|
|
18
|
-
vysion/version.py,sha256=
|
|
19
|
-
vysion-2.0.
|
|
20
|
-
vysion-2.0.
|
|
21
|
-
vysion-2.0.
|
|
22
|
-
vysion-2.0.
|
|
18
|
+
vysion/version.py,sha256=EJs7CmfAccevqmneCO7DQr-WIqMa6Y3-1e19JbaIrcA,610
|
|
19
|
+
vysion-2.0.7.dist-info/LICENSE,sha256=QwcOLU5TJoTeUhuIXzhdCEEDDvorGiC6-3YTOl4TecE,11356
|
|
20
|
+
vysion-2.0.7.dist-info/METADATA,sha256=anzvq9gtLXAXXWGccWJYHUEybTtOr7pQDnEVzC3uMRA,2129
|
|
21
|
+
vysion-2.0.7.dist-info/WHEEL,sha256=FMvqSimYX_P7y0a7UY-_Mc83r5zkBZsCYPm7Lr0Bsq4,88
|
|
22
|
+
vysion-2.0.7.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|