from output.models.ms_data.datatypes.duration_xsd.duration import ComplexTest
from output.models.ms_data.datatypes.duration_xsd.duration import Root
from xsdata.models.datatype import XmlDuration


obj = Root(
    complex_test=ComplexTest(
        comp_foo=XmlDuration("PT31S")
    ),
    simple_test=XmlDuration("PT31S")
)

b8504f151c8fd16eb4c2bff78f33447a32e9c2fa
<mask token>

<mask token>
obj = Root(complex_test=ComplexTest(comp_foo=XmlDuration('PT31S')),
    simple_test=XmlDuration('PT31S'))

from output.models.ms_data.datatypes.duration_xsd.duration import ComplexTest
from output.models.ms_data.datatypes.duration_xsd.duration import Root
from xsdata.models.datatype import XmlDuration
obj = Root(complex_test=ComplexTest(comp_foo=XmlDuration('PT31S')),
    simple_test=XmlDuration('PT31S'))

from output.models.ms_data.datatypes.duration_xsd.duration import ComplexTest
from output.models.ms_data.datatypes.duration_xsd.duration import Root
from xsdata.models.datatype import XmlDuration


obj = Root(
    complex_test=ComplexTest(
        comp_foo=XmlDuration("PT31S")
    ),
    simple_test=XmlDuration("PT31S")
)
