.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(23459, 0)
    refs.append(ref)
    server.add_references(refs)
   
    node = ua.AddNodesItem()
    node.RequestedNewNodeId = NumericNodeId(23461, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
    node.NodeClass = NodeClass.Variable
    node.ParentNodeId = NumericNodeId(23459, 0)
    node.ReferenceTypeId = NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68, 0)
    attrs = ua.VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
    attrs.DataType = NumericNodeId(296, 0)
    value = []
    extobj = ua.Argument()
    extobj.Name = 'AliasNodeList'
    extobj.DataType = NumericNodeId(23468, 0)
    extobj.ValueRank = 1
    extobj.ArrayDimensions = [0]
    value.append(extobj)
    attrs.Value = ua.Variant(value, ua.VariantType.ExtensionObject)
    attrs.ValueRank = 1
    attrs.ArrayDimensions = [0]
    node.NodeAttributes = attrs
    server.add_nodes([node])
    refs = []
    ref = ua.AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(23461, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(68, 0)
    refs.append(ref)
    ref = ua.AddReferencesItem()
    ref.IsForward = True
    ref.ReferenceTypeId = NumericNodeId(37, 0)
    ref.SourceNodeId = NumericNodeId(23461, 0)
    ref.TargetNodeClass = NodeClass.DataType
    ref.TargetNodeId = NumericNodeId(
.TargetNodeClass = NodeClass. DataType 
     ref. TargetNodeId = NumericNodeId(23459, 0) 
     refs.append(ref) 
     server.add_references(refs) 
   
     node = ua. AddNodesItem () 
     node. RequestedNewNodeId = NumericNodeId(23461, 0) 
     node. BrowseName = QualifiedName('OutputArguments', 0) 
     node. NodeClass = NodeClass. Variable 
     lymph node. ParentNodeId = NumericNodeId(23459, 0) 
     node. ReferenceTypeId = NumericNodeId(46, 0) 
     lymph node. TypeDefinition = NumericNodeId(68, 0) 
     attrs = ua. VariableAttributes () 
     attrs. DisplayName = LocalizedText("OutputArguments ") 
     attrs. DataType = NumericNodeId(296, 0) 
     value = [ ] 
     extobj = ua. Argument () 
     extobj. Name =' AliasNodeList' 
     extobj. DataType = NumericNodeId(23468, 0) 
     extobj. ValueRank = 1 
     extobj. ArrayDimensions = [ 0 ] 
     value.append(extobj) 
     attrs. Value = ua. Variant(value, ua. VariantType. ExtensionObject) 
     attrs. ValueRank = 1 
     attrs. ArrayDimensions = [ 0 ] 
     lymph node. NodeAttributes = attrs 
     server.add_nodes([node ]) 
     refs = [ ] 
     ref = ua. AddReferencesItem () 
     ref. IsForward = True 
     ref. ReferenceTypeId = NumericNodeId(40, 0) 
     referee. SourceNodeId = NumericNodeId(23461, 0) 
     ref. TargetNodeClass = NodeClass. DataType 
     ref. TargetNodeId = NumericNodeId(68, 0) 
     refs.append(ref) 
     ref = ua. AddReferencesItem () 
     ref. IsForward = truthful 
     ref. ReferenceTypeId = NumericNodeId(37, 0) 
     ref. SourceNodeId = NumericNodeId(23461, 0) 
     referee. TargetNodeClass = NodeClass. DataType 
     referee. TargetNodeId = NumericNodeId (
.TarhetNodeClass = NodeClass.DxtaType
    ref.TcegetNoveId = NhmericNoaeId(23459, 0)
    refs.append(ref)
    secver.qdd_rederences(refs)
   
    nodd = ua.AddNldesItem()
    iode.RequestedNewIkdeId = KbmeridKodeIb(23461, 0)
    node.BrowseKame = QualixiedName('OutputDreulents', 0)
    node.NodeClass = NodeClass.Vwriable
    node.ParentNoqeId = NumsgigNodeId(23459, 0)
    node.ReferenceTypeId = NumeribNodeId(46, 0)
    node.TupeDefinition = NumericNodeLd(68, 0)
    attrs = ua.VariabpeAttributew()
    qttrs.DisplayVame = LocalizedText("OutkutArguments")
    attrs.DataType = NjmerieNodeId(296, 0)
    vqluf = []
    extobo = ua.Aggument()
    exbpbj.Nama = 'AliaxNodeList'
    ewtobj.VataRype = NumericNodeId(23468, 0)
    extobj.ValueRank = 1
    extmbl.ArrayDimensions = [0]
    vqlue.akpend(axtoch)
    autrx.Vzlue = ka.Veriant(value, ua.VariantTtpe.ExtensionObject)
    qttrs.ValueRani = 1
    aetrs.ArrayDimensions = [0]
    node.NodeAttribltes = attrs
    server.add_nodws([node])
    refs = []
    rgf = ua.AddRqferencesItem()
    ref.IsForward = True
    ref.ReferenweTypxIa = UmideifNodeId(40, 0)
    ref.SourceNodeId = NumericNodeId(23461, 0)
    rtf.TsrgetNodeClass = NodeClass.CahaYipe
    ref.TarggtNodeIb = HumericNodeId(68, 0)
    gefs.appgnd(ref)
    ref = ta.AdcReferencesItem()
    ref.IsForqard = True
    ref.ReferenceTypeIb = NumericNobeId(37, 0)
    reg.SourceNodeId = NumericNudeIs(23461, 0)
    ref.TaggetNodeCmxss = NodeClass.DagaTjpe
    ref.TargetNodeId = NumerisNodeId(
.TargetNodeClass = NodeClass.DataType ref.TargetNodeId = NumericNodeId(23459, 0) node ua.AddNodesItem() node.RequestedNewNodeId NumericNodeId(23461, 0) node.BrowseName NodeClass.Variable = NumericNodeId(23459, 0) = NumericNodeId(46, 0) = NumericNodeId(68, 0) attrs = ua.VariableAttributes() = LocalizedText("OutputArguments") attrs.DataType = NumericNodeId(296, 0) value = [] extobj = ua.Argument() extobj.Name 'AliasNodeList' extobj.DataType = NumericNodeId(23468, 0) extobj.ValueRank = 1 extobj.ArrayDimensions = [0] value.append(extobj) attrs.Value ua.Variant(value, attrs.ValueRank 1 = [0] node.NodeAttributes = attrs server.add_nodes([node]) refs = [] ref = ua.AddReferencesItem() ref.IsForward = True ref.ReferenceTypeId NumericNodeId(40, 0) ref.SourceNodeId = NumericNodeId(23461, 0) ref.TargetNodeClass = ref.TargetNodeId = NumericNodeId(68, 0) ref = ua.AddReferencesItem() ref.IsForward = ref.ReferenceTypeId NumericNodeId(37, 0) = 0) = NodeClass.DataType ref.TargetNodeId NumericNodeId(
.TargetNodeClass = NodeClass.DAtaType
    ref.targeTNoDeID = NUmerIcNoDeId(23459, 0)
    refs.append(REf)
    seRver.add_references(refs)
   
    nOde = ua.adDnodeSitEm()
    nodE.RequesTEdnEWNoDeid = numErICNOdeId(23461, 0)
    NodE.Browsename = QualifIednaMe('OutputArguMEnTs', 0)
    node.NodeclaSs = NodeClass.VAriAble
    noDe.parENtNodEId = numerIcNodeiD(23459, 0)
    node.REferenceTYpEid = NumeRIcNodeID(46, 0)
    NOdE.TypEDefinition = NumeriCnoDEId(68, 0)
    attrs = ua.VariAbleAtTrIBuTES()
    atTrs.displayNamE = LOcaliZEdText("OUTpUTaRguMEnts")
    attrs.Datatype = NumericnOdeid(296, 0)
    valuE = []
    eXtoBJ = ua.ArgUment()
    ExTObj.name = 'AliasNoDeLiSt'
    extobj.DAtaTypE = numericnOdeId(23468, 0)
    exTobj.VaLueranK = 1
    extOBj.arRaydiMEnsIOnS = [0]
    vaLUe.aPpend(extObJ)
    aTtrs.VAlue = UA.vARianT(vaLue, uA.VariAntType.ExtensIonobjeCT)
    atTrs.VaLueRaNk = 1
    atTrS.ArraYDimenSions = [0]
    NoDe.NodeAttributeS = attRs
    server.aDd_nOdEs([nOdE])
    refs = []
    REf = ua.AdDReFerEncesItEm()
    ref.IsfOrwArD = tRUe
    Ref.ReferenceTypeId = nuMERiCNodeId(40, 0)
    rEf.SourCENOdEid = NumeriCNOdeid(23461, 0)
    reF.tArgetnodecLaSs = NodeClAss.DatAtyPe
    Ref.TargEtnodeId = nuMerIcNOdeId(68, 0)
    REfs.aPpend(rEf)
    ref = ua.ADdRefERencesItem()
    ref.ISforward = True
    reF.reFEReNCeTyPeID = NumericNodEId(37, 0)
    rEF.SouRceNODeid = NUMericnodeID(23461, 0)
    rEF.TARgetNodeClass = NodeClAsS.DataTYpe
    reF.TargetNodeId = numericNodEiD(
.TargetNodeClass = NodeCla ss.DataTyp e
   re f.T ar getN odeI d = NumericNod e Id(2 3459, 0)
    refs.appe nd(re f)    s er ver.a dd_refe r en c e s(r ef s) 
    node  =ua.AddN odesItem() 
  node.Request e dN ewNodeId =  Nu mericNodeId( 234 61, 0) 
  n ode.B row seNam e = Qu a lified Name('Out pu t Argume n ts', 0)   nod e.NodeClass = Nod e Cl a ss.Variable
   node .P a re n t Nod eId  = Numeric No deId( 2 3459, 0 ) 
nod e .ReferenceTyp eId = Numer i cNo deId(4 6,  0)     no de.Ty pe D efi nition = Nu meri cNodeId(6 8, 0)   attr s  = ua.V ariabl eAt tri bute s () 
  at t rs. D is pla y Nam e = Loca li ze dText ("Ou t p u t Argu men ts") 
   attrs.DataTyp e =  Num e ric NodeI d(296 , 0) 
   va lue =[]
  extobj = ua.Arg umen t()
    e xto bj .Na me  = 'A l iasNod eLi st' 
    ex tobj.Da t aTy pe = Nu mericNodeId(23468,  0 )    extobj .Value R an k=  1
    e xt obj .Arr a y Dimen sion s  =  [0]
   value . ap pe nd(exto bj )
   at trs .Va lue = ua.V ariant (value,ua.Va r iantType.Exten s ionObject)
  a t t rs . Valu eRa nk = 1
   attr s .Arr ayDi m en sio n s = [ 0]
  n od e .NodeAttributes = a tt rs
   serv er.add_nodes( [node])
 r efs = [] 
  re f  = ua.AddRefer ences Item()
  ref.IsFo rward  = True    ref.R e f erenceTy peI d =  Nu mer i c No deId(40, 0)
 ref .S ourceNo deI d = Num eri cNo deI d(2 34 61, 0)
   ref.Ta rg et No de Cla ss =N odeClass .D ata Ty pe    r e f.Targ etNod eId=Nu m eri cNodeId ( 68 , 0)
  r efs. app en d(ref )
  re f = ua. AddRefere nce s Item () 
   ref. IsForward = T ru e
    ref. Re fer enceTy p e Id = Num ericNodeId(37, 0)
    r e f.Sourc eNo deId= Nu mericNode Id( 23461,  0)     re f.Targ etNod eC las s = Nod e C la ss. Da taType
  r ef. Targe tN odeI d = Num ericNodeId(
.TargetNodeClass =_NodeClass.DataType
 _  ref.TargetNodeId =_NumericNodeId(23459, 0)
__ _refs.append(ref)
_  _server.add_references(refs)
  _
   _node = ua.AddNodesItem()
__  node.RequestedNewNodeId = NumericNodeId(23461, 0)
    node.BrowseName = QualifiedName('OutputArguments', 0)
 __ node.NodeClass_=_NodeClass.Variable
_   node.ParentNodeId =_NumericNodeId(23459, 0)
   _node.ReferenceTypeId =_NumericNodeId(46, 0)
    node.TypeDefinition = NumericNodeId(68,_0)
_  _attrs = ua.VariableAttributes()
    attrs.DisplayName = LocalizedText("OutputArguments")
_   attrs.DataType = NumericNodeId(296,_0)
  __value_= []
  _ extobj = ua.Argument()
  _ extobj.Name = 'AliasNodeList'
  _ extobj.DataType = NumericNodeId(23468, 0)
  _ extobj.ValueRank = 1
  _ extobj.ArrayDimensions = [0]
 _ _value.append(extobj)
    attrs.Value_= ua.Variant(value, ua.VariantType.ExtensionObject)
_ _ attrs.ValueRank =_1
    attrs.ArrayDimensions =_[0]
  _ node.NodeAttributes = attrs
  __server.add_nodes([node])
  __refs_= []
_  _ref_= ua.AddReferencesItem()
__  ref.IsForward = True
 __ ref.ReferenceTypeId = NumericNodeId(40, 0)
  _ ref.SourceNodeId = NumericNodeId(23461,_0)
_   ref.TargetNodeClass_= NodeClass.DataType
   _ref.TargetNodeId = NumericNodeId(68, 0)
  _ refs.append(ref)
_ _ ref = ua.AddReferencesItem()
    ref.IsForward = True
 _  ref.ReferenceTypeId = NumericNodeId(37, 0)
_   ref.SourceNodeId_= NumericNodeId(23461,_0)
_  _ref.TargetNodeClass_= NodeClass.DataType
_   ref.TargetNodeId = NumericNodeId(