Skip to content

Commit 6429f94

Browse files
committed
feat: remove leaf, port.id, short_id from sdk
1 parent e9777ad commit 6429f94

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

tests/api/examples/refineries.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
"notes": "; Mock note: This is a simulated refinery record for testing purposes.",
1313
"ports": [
1414
{
15-
"id": 745,
1615
"import_export": "export",
1716
"port_id": "d12e3f4a5b6c7890d12e3f4a5b6c7890d12e3f4a5b6c7890d12e3f4a5b6c7890",
1817
"port_name": "Mock Port [AR]",
@@ -21,7 +20,6 @@
2120
"terminal_name": "Mock Terminal"
2221
},
2322
{
24-
"id": 836,
2523
"import_export": "import",
2624
"port_id": "d12e3f4a5b6c7890d12e3f4a5b6c7890d12e3f4a5b6c7890d12e3f4a5b6c7890",
2725
"port_name": "Mock Port [AR]",
@@ -36,12 +34,10 @@
3634
"refinery_owner_name": "Mock Owner Corp",
3735
"refinery_type": "Unknown",
3836
"shipping_region_name": "Mock Shipping Region",
39-
"short_id": "a12b3c4d5e6f7890",
4037
"start_date": null,
4138
"status": "Active",
4239
"storage_location_id": null,
4340
"storage_location_name": null,
44-
"ref_type": "refinery",
45-
"leaf": true
41+
"ref_type": "refinery"
4642
}
4743
]

vortexasdk/api/refinery.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55

66

77
class RefineryPort(BaseModel):
8-
id: int
98
import_export: Optional[str] = None
109
port_id: Optional[str] = None
1110
port_name: Optional[str] = None
@@ -38,10 +37,8 @@ class Refinery(Node):
3837
refinery_owner_name: Optional[str] = None
3938
refinery_type: Optional[str] = None
4039
shipping_region_name: Optional[str] = None
41-
short_id: Optional[str] = None
4240
start_date: Optional[ISODate] = None
4341
status: Optional[str] = None
4442
storage_location_id: Optional[str] = None
4543
storage_location_name: Optional[str] = None
4644
ref_type: Optional[str] = None
47-
leaf: Optional[bool] = None

0 commit comments

Comments
 (0)