mirror of https://github.com/MISP/PyMISP
fix: Make mypy happy in python 3.6 and 3.7
parent
9f7282e8f4
commit
4a2367ec96
|
@ -1203,6 +1203,7 @@ class MISPGalaxyCluster(AbstractMISP):
|
||||||
self.Org: MISPOrganisation
|
self.Org: MISPOrganisation
|
||||||
self.Orgc: MISPOrganisation
|
self.Orgc: MISPOrganisation
|
||||||
self.SharingGroup: MISPSharingGroup
|
self.SharingGroup: MISPSharingGroup
|
||||||
|
self.value: str
|
||||||
# Set any inititialized cluster to be False
|
# Set any inititialized cluster to be False
|
||||||
self.default = False
|
self.default = False
|
||||||
|
|
||||||
|
@ -1345,6 +1346,7 @@ class MISPGalaxy(AbstractMISP):
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
self.GalaxyCluster: List[MISPGalaxyCluster] = []
|
self.GalaxyCluster: List[MISPGalaxyCluster] = []
|
||||||
|
self.name: str
|
||||||
|
|
||||||
def from_dict(self, **kwargs):
|
def from_dict(self, **kwargs):
|
||||||
"""Galaxy could be in one of the following formats:
|
"""Galaxy could be in one of the following formats:
|
||||||
|
|
Loading…
Reference in New Issue