Closed brian12559 closed 2 years ago
@brian12559, I believe the correct way is to use create
classmethod as per code.
Baseline.create("Polarion", 'base_21R1P1', 'desc', '10388676')
awesome...my bad. should have known that. So this works: test = [] Baseline.create("Polarion", 'base_21R1P1', 'desc', test) but this does not Baseline.create("Polarion", 'base_21R1P1', 'desc') revision number is optional as is desc. Shouldn't I be able to just leave it off? thanks
None
minOccurs=0
so you can technically just pass None
and it should work.None works!
I don't think I have ever used the Baseline object before with pylarion nor pylero, so I am not sure that this works or has ever worked. I am trying to do this:
Baseline("Polarion", 'base_21R1P1', 'desc', '10388676') but its not letting me. Its return this: Baseline("Polarion", 'base_21R1P1', 'desc', '10388676') TypeError: init() takes at most 3 arguments (5 given)
I am able to do this via the WSDL: tracker.service.createBaseline('Polarion', 'base2_21R1P1', 'desc', '10388676')