E
Size: a a a
E
YT
E
DK
DK
from typing import Type
class One(object):
model: Type[list]
def __init__(self):
pass
class Two(One):
model = [1,2,3]
def __init__(self):
super().__init__()
a = Two()
b = One()
print(One.model)
print(Two.model)
AS
DK
DK
from typing import Type
class One(object):
model: Type[list]
def __init__(self):
pass
class Two(One):
model = [1,2,3]
def __init__(self):
super().__init__()
a = Two()
b = One()
print(One.model)
print(Two.model)
S
G
G
G
S
ImportError("Cannot load handler 'noc.custom.etl.extractors.zabbix.ZBRemoteSystem': No module named 'noc.core.etl.models.object'")
S
S
ValidationError(model='ManagedObject', errors=[{'loc': ('scheme',), 'msg': 'field required', 'type': 'value_error.missing'}])
DK
DK
S
Optional[Reference["Container"]]
заменен на container: Optional[Reference["Object"]]