Mpzinke

Latest version: v0.8.4

Safety actively analyzes 688238 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 8

0.6.7

0.6.6

0.6.5

0.6.3

0.6.2

0.6.1

Validator used to only look at the constructor of leaf descendent classes. Now it looks at all or parents of specified class.

EG.
python
class A1(Validator):
def __init__(self, arg1: int, arg2: int, arg3: int):
Validator.__init__(self, locals())
print("A1::__init__")


class A2(Validator):
def __init__(self):
Validator.__init__(self, locals(), A2)
print("A2::__init__")


class B(A1, A2):
def __init__(self, arg1: int, arg2: int, arg3: str):
A1.__init__(self, arg1, arg2, int(arg3))
A2.__init__(self)
print("B::__init__")

A1(1, 2, 3) pass
A2() pass
B(1, 2, "3") pass

Page 4 of 8

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.