Skip to content

Commit 7c3abd3

Browse files
authored
source-python-http-tutorial: ensure inline schemas, updated cdk, poetry (where possible) (#37238)
1 parent 2b260de commit 7c3abd3

File tree

3 files changed

+45
-0
lines changed

3 files changed

+45
-0
lines changed

airbyte-integrations/connectors/source-python-http-tutorial/source_python_http_tutorial/schemas/customers.json

+3
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,15 @@
33
"type": "object",
44
"properties": {
55
"id": {
6+
"description": "The unique identifier for the customer.",
67
"type": ["null", "string"]
78
},
89
"name": {
10+
"description": "The full name of the customer.",
911
"type": ["null", "string"]
1012
},
1113
"signup_date": {
14+
"description": "The date and time when the customer signed up.",
1215
"type": ["null", "string"],
1316
"format": "date-time"
1417
}

airbyte-integrations/connectors/source-python-http-tutorial/source_python_http_tutorial/schemas/employees.json

+4
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,19 @@
33
"type": "object",
44
"properties": {
55
"id": {
6+
"description": "Unique identifier for the employee.",
67
"type": ["null", "string"]
78
},
89
"name": {
10+
"description": "Name of the employee.",
911
"type": ["null", "string"]
1012
},
1113
"years_of_service": {
14+
"description": "Number of years the employee has been in service.",
1215
"type": ["null", "integer"]
1316
},
1417
"start_date": {
18+
"description": "Date when the employee started their employment.",
1519
"type": ["null", "string"],
1620
"format": "date-time"
1721
}

airbyte-integrations/connectors/source-python-http-tutorial/source_python_http_tutorial/schemas/exchange_rates.json

+38
Original file line numberDiff line numberDiff line change
@@ -3,119 +3,157 @@
33
"type": "object",
44
"properties": {
55
"access_key": {
6+
"description": "Access key required to access the exchange rates data.",
67
"type": "string"
78
},
89
"base": {
10+
"description": "Base currency for the exchange rates.",
911
"type": "string"
1012
},
1113
"rates": {
14+
"description": "Object containing exchange rates for various currencies",
1215
"type": "object",
1316
"properties": {
1417
"GBP": {
18+
"description": "British Pound exchange rate.",
1519
"type": "number"
1620
},
1721
"HKD": {
22+
"description": "Hong Kong Dollar exchange rate.",
1823
"type": "number"
1924
},
2025
"IDR": {
26+
"description": "Indonesian Rupiah exchange rate.",
2127
"type": "number"
2228
},
2329
"PHP": {
30+
"description": "Philippine Peso exchange rate.",
2431
"type": "number"
2532
},
2633
"LVL": {
34+
"description": "Latvian Lats exchange rate.",
2735
"type": "number"
2836
},
2937
"INR": {
38+
"description": "Indian Rupee exchange rate.",
3039
"type": "number"
3140
},
3241
"CHF": {
42+
"description": "Swiss Franc exchange rate.",
3343
"type": "number"
3444
},
3545
"MXN": {
46+
"description": "Mexican Peso exchange rate.",
3647
"type": "number"
3748
},
3849
"SGD": {
50+
"description": "Singapore Dollar exchange rate.",
3951
"type": "number"
4052
},
4153
"CZK": {
54+
"description": "Czech Koruna exchange rate.",
4255
"type": "number"
4356
},
4457
"THB": {
58+
"description": "Thai Baht exchange rate.",
4559
"type": "number"
4660
},
4761
"BGN": {
62+
"description": "Bulgarian Lev exchange rate.",
4863
"type": "number"
4964
},
5065
"EUR": {
66+
"description": "Euro exchange rate.",
5167
"type": "number"
5268
},
5369
"MYR": {
70+
"description": "Malaysian Ringgit exchange rate.",
5471
"type": "number"
5572
},
5673
"NOK": {
74+
"description": "Norwegian Krone exchange rate.",
5775
"type": "number"
5876
},
5977
"CNY": {
78+
"description": "Chinese Yuan exchange rate.",
6079
"type": "number"
6180
},
6281
"HRK": {
82+
"description": "Croatian Kuna exchange rate.",
6383
"type": "number"
6484
},
6585
"PLN": {
86+
"description": "Polish Zloty exchange rate.",
6687
"type": "number"
6788
},
6889
"LTL": {
90+
"description": "Lithuanian Litas exchange rate.",
6991
"type": "number"
7092
},
7193
"TRY": {
94+
"description": "Turkish Lira exchange rate.",
7295
"type": "number"
7396
},
7497
"ZAR": {
98+
"description": "South African Rand exchange rate.",
7599
"type": "number"
76100
},
77101
"CAD": {
102+
"description": "Canadian Dollar exchange rate.",
78103
"type": "number"
79104
},
80105
"BRL": {
106+
"description": "Brazilian Real exchange rate.",
81107
"type": "number"
82108
},
83109
"RON": {
110+
"description": "Romanian Leu exchange rate.",
84111
"type": "number"
85112
},
86113
"DKK": {
114+
"description": "Danish Krone exchange rate.",
87115
"type": "number"
88116
},
89117
"NZD": {
118+
"description": "New Zealand Dollar exchange rate.",
90119
"type": "number"
91120
},
92121
"EEK": {
122+
"description": "Estonian Kroon exchange rate.",
93123
"type": "number"
94124
},
95125
"JPY": {
126+
"description": "Japanese Yen exchange rate.",
96127
"type": "number"
97128
},
98129
"RUB": {
130+
"description": "Russian Ruble exchange rate.",
99131
"type": "number"
100132
},
101133
"KRW": {
134+
"description": "South Korean Won exchange rate.",
102135
"type": "number"
103136
},
104137
"USD": {
138+
"description": "US Dollar exchange rate.",
105139
"type": "number"
106140
},
107141
"AUD": {
142+
"description": "Australian Dollar exchange rate.",
108143
"type": "number"
109144
},
110145
"HUF": {
146+
"description": "Hungarian Forint exchange rate.",
111147
"type": "number"
112148
},
113149
"SEK": {
150+
"description": "Swedish Krona exchange rate.",
114151
"type": "number"
115152
}
116153
}
117154
},
118155
"date": {
156+
"description": "Date for which the exchange rates are applicable.",
119157
"type": "string"
120158
}
121159
}

0 commit comments

Comments
 (0)