Skip to content

Commit

Permalink
Update xsdata
Browse files Browse the repository at this point in the history
  • Loading branch information
tefra committed Dec 26, 2023
1 parent c41c639 commit 01553b0
Show file tree
Hide file tree
Showing 14,672 changed files with 372,088 additions and 366,884 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
40 changes: 20 additions & 20 deletions output/instances/boeingData/ipo1/ipo_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,52 +11,52 @@
obj = PurchaseOrder(
ship_to_or_bill_to_or_single_address=[
Usaddress(
name="Alice Smith",
street="123 Maple Street",
city="Mill Valley",
name='Alice Smith',
street='123 Maple Street',
city='Mill Valley',
state=Usstate.AL,
zip=90952
),
DerivedElement(
qname="billTo",
qname='billTo',
value=Usaddress(
name="Robert Smith",
street="8 Oak Avenue",
city="Old Town",
name='Robert Smith',
street='8 Oak Avenue',
city='Old Town',
state=Usstate.AK,
zip=95800
),
type="{http://www.example.com/IPO}USAddress"
type='{http://www.example.com/IPO}USAddress'
),
],
customer_comment_or_ship_comment_or_comment=DerivedElement(
qname="{http://www.example.com/IPO}comment",
value="Hurry, my sister loves Boeing!"
qname='{http://www.example.com/IPO}comment',
value='Hurry, my sister loves Boeing!'
),
items=ItemsType(
content=[
ItemsType.Item(
product_name="777 Model",
product_name='777 Model',
quantity=1,
usprice=Decimal("99.95"),
usprice=Decimal('99.95'),
customer_comment_or_ship_comment_or_comment=[
DerivedElement(
qname="{http://www.example.com/IPO}shipComment",
value=" Use gold wrap if possible "
qname='{http://www.example.com/IPO}shipComment',
value=' Use gold wrap if possible '
),
" Want this for the holidays! ",
' Want this for the holidays! ',
],
ship_date=XmlDate(1999, 12, 5),
part_num="777-BA",
weight_kg=Decimal("4.5"),
part_num='777-BA',
weight_kg=Decimal('4.5'),
ship_by=ItemShipBy.LAND
),
ItemsType.Item(
product_name="833 Model",
product_name='833 Model',
quantity=2,
usprice=Decimal("199.95"),
usprice=Decimal('199.95'),
ship_date=XmlDate(2000, 2, 28),
part_num="833-AA"
part_num='833-AA'
),
]
),
Expand Down
30 changes: 15 additions & 15 deletions output/instances/boeingData/ipo1/ipo_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,37 +10,37 @@
obj = PurchaseOrder(
ship_to_or_bill_to_or_single_address=[
DerivedElement(
qname="singleAddress",
qname='singleAddress',
value=Ukaddress(
name="Helen Zoe",
street="47 Eden Street",
city="Cambridge",
postcode="CB1 1JR"
name='Helen Zoe',
street='47 Eden Street',
city='Cambridge',
postcode='CB1 1JR'
),
type="{http://www.example.com/IPO}UKAddress"
type='{http://www.example.com/IPO}UKAddress'
),
],
customer_comment_or_ship_comment_or_comment=DerivedElement(
qname="{http://www.example.com/IPO}comment",
value="I love Boeing too!"
qname='{http://www.example.com/IPO}comment',
value='I love Boeing too!'
),
items=ItemsType(
content=[
ItemsType.Item(
product_name="777 Model",
product_name='777 Model',
quantity=1,
usprice=Decimal("99.95"),
usprice=Decimal('99.95'),
ship_date=XmlDate(1999, 12, 5),
part_num="777-BA",
weight_kg=Decimal("4.5"),
part_num='777-BA',
weight_kg=Decimal('4.5'),
ship_by=ItemShipBy.ANY
),
ItemsType.Item(
product_name="833 Model",
product_name='833 Model',
quantity=1,
usprice=Decimal("199.95"),
usprice=Decimal('199.95'),
ship_date=XmlDate(2000, 2, 28),
part_num="833-AA"
part_num='833-AA'
),
]
),
Expand Down
46 changes: 23 additions & 23 deletions output/instances/boeingData/ipo2/ipo_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,59 +11,59 @@
obj = PurchaseOrder(
ship_to_or_bill_to_or_single_address=[
Usaddress(
name="Alice Smith",
street="123 Maple Street",
city="Mill Valley",
name='Alice Smith',
street='123 Maple Street',
city='Mill Valley',
state=Usstate.CA,
zip=90952
),
DerivedElement(
qname="billTo",
qname='billTo',
value=Usaddress(
name="Robert Smith",
street="8 Oak Avenue",
city="Old Town",
name='Robert Smith',
street='8 Oak Avenue',
city='Old Town',
state=Usstate.PA,
zip=95819
),
type="{http://www.example.com/add}USAddress"
type='{http://www.example.com/add}USAddress'
),
],
customer_comment_or_ship_comment_or_comment=DerivedElement(
qname="{http://www.example.com/IPO}comment",
value="Hurry, my sister loves Boeing!"
qname='{http://www.example.com/IPO}comment',
value='Hurry, my sister loves Boeing!'
),
items=ItemsType(
content=[
ItemsType.Item(
product_name="777 Model",
product_name='777 Model',
quantity=1,
usprice=Decimal("99.95"),
usprice=Decimal('99.95'),
customer_comment_or_ship_comment_or_comment=[
DerivedElement(
qname="{http://www.example.com/IPO}shipComment",
value=" Use gold wrap if possible "
qname='{http://www.example.com/IPO}shipComment',
value=' Use gold wrap if possible '
),
" Want this for the holidays! ",
' Want this for the holidays! ',
],
ship_date=XmlDate(1999, 12, 5),
part_num="777-BA",
weight_kg=Decimal("4.5"),
part_num='777-BA',
weight_kg=Decimal('4.5'),
ship_by=ItemShipBy.AIR
),
ItemsType.Item(
product_name="833 Model",
product_name='833 Model',
quantity=2,
usprice=Decimal("199.95"),
usprice=Decimal('199.95'),
customer_comment_or_ship_comment_or_comment=[
DerivedElement(
qname="{http://www.example.com/IPO}comment",
value="This is a comment..."
qname='{http://www.example.com/IPO}comment',
value='This is a comment...'
),
],
ship_date=XmlDate(2000, 2, 28),
part_num="833-AA",
weight_kg=Decimal("2.5"),
part_num='833-AA',
weight_kg=Decimal('2.5'),
ship_by=ItemShipBy.AIR
),
]
Expand Down
24 changes: 12 additions & 12 deletions output/instances/boeingData/ipo2/ipo_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,29 +10,29 @@
obj = PurchaseOrder(
ship_to_or_bill_to_or_single_address=[
DerivedElement(
qname="singleAddress",
qname='singleAddress',
value=Ukaddress(
name="Helen Zoe",
street="47 Eden Street",
city="Cambridge",
postcode="CB1 1JR"
name='Helen Zoe',
street='47 Eden Street',
city='Cambridge',
postcode='CB1 1JR'
),
type="{http://www.example.com/add}UKAddress"
type='{http://www.example.com/add}UKAddress'
),
],
customer_comment_or_ship_comment_or_comment=DerivedElement(
qname="{http://www.example.com/IPO}comment",
value="I love Boeing too!"
qname='{http://www.example.com/IPO}comment',
value='I love Boeing too!'
),
items=ItemsType(
content=[
ItemsType.Item(
product_name="777 Model",
product_name='777 Model',
quantity=1,
usprice=Decimal("99.95"),
usprice=Decimal('99.95'),
ship_date=XmlDate(1999, 12, 5),
part_num="777-AB",
weight_kg=Decimal("4.5"),
part_num='777-AB',
weight_kg=Decimal('4.5'),
ship_by=ItemShipBy.AIR
),
]
Expand Down
40 changes: 20 additions & 20 deletions output/instances/boeingData/ipo3/ipo_1.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,52 +11,52 @@
obj = PurchaseOrder(
ship_to_or_bill_to_or_single_address=[
Usaddress(
name="Alice Smith",
street="123 Maple Street",
city="Mill Valley",
name='Alice Smith',
street='123 Maple Street',
city='Mill Valley',
state=Usstate.CA,
zip=90952
),
DerivedElement(
qname="{http://www.example.com/IPO}billTo",
qname='{http://www.example.com/IPO}billTo',
value=Usaddress(
name="Robert Smith",
street="8 Oak Avenue",
city="Old Town",
name='Robert Smith',
street='8 Oak Avenue',
city='Old Town',
state=Usstate.PA,
zip=95819
),
type="{http://www.example.com/add}USAddress"
type='{http://www.example.com/add}USAddress'
),
],
customer_comment_or_ship_comment_or_comment=DerivedElement(
qname="{http://www.example.com/IPO}shipComment",
value="Hurry, my sister loves Boeing!"
qname='{http://www.example.com/IPO}shipComment',
value='Hurry, my sister loves Boeing!'
),
items=ItemsType(
content=[
ItemsType.Item(
product_name="777 Model",
product_name='777 Model',
quantity=1,
usprice=Decimal("99.95"),
usprice=Decimal('99.95'),
customer_comment_or_ship_comment_or_comment=[
DerivedElement(
qname="{http://www.example.com/IPO}shipComment",
value=" Use gold wrap if possible "
qname='{http://www.example.com/IPO}shipComment',
value=' Use gold wrap if possible '
),
" Want this for the holidays! ",
' Want this for the holidays! ',
],
ship_date=XmlDate(1999, 12, 5),
part_num="777-BA",
weight_kg=Decimal("4.5"),
part_num='777-BA',
weight_kg=Decimal('4.5'),
ship_by=ItemShipBy.AIR
),
ItemsType.Item(
product_name="833 Model",
product_name='833 Model',
quantity=2,
usprice=Decimal("199.95"),
usprice=Decimal('199.95'),
ship_date=XmlDate(2000, 2, 28),
part_num="833-AA"
part_num='833-AA'
),
]
),
Expand Down
28 changes: 14 additions & 14 deletions output/instances/boeingData/ipo3/ipo_2.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,34 +10,34 @@
obj = PurchaseOrder(
ship_to_or_bill_to_or_single_address=[
DerivedElement(
qname="{http://www.example.com/IPO}singleAddress",
qname='{http://www.example.com/IPO}singleAddress',
value=Ukaddress(
name="Helen Zoe",
street="47 Eden Street",
city="Cambridge",
postcode="CB1 1JR"
name='Helen Zoe',
street='47 Eden Street',
city='Cambridge',
postcode='CB1 1JR'
),
type="{http://www.example.com/add}UKAddress"
type='{http://www.example.com/add}UKAddress'
),
],
customer_comment_or_ship_comment_or_comment="I love Boeing too!",
customer_comment_or_ship_comment_or_comment='I love Boeing too!',
items=ItemsType(
content=[
ItemsType.Item(
product_name="777 Model",
product_name='777 Model',
quantity=1,
usprice=Decimal("99.95"),
usprice=Decimal('99.95'),
ship_date=XmlDate(1999, 12, 5),
part_num="777-BA",
weight_kg=Decimal("4.5"),
part_num='777-BA',
weight_kg=Decimal('4.5'),
ship_by=ItemShipBy.AIR
),
ItemsType.Item(
product_name="833 Model",
product_name='833 Model',
quantity=1,
usprice=Decimal("199.95"),
usprice=Decimal('199.95'),
ship_date=XmlDate(2000, 2, 28),
part_num="833-AA"
part_num='833-AA'
),
]
),
Expand Down
Loading

0 comments on commit 01553b0

Please sign in to comment.