Skip to content

Commit

Permalink
I think this works?
Browse files Browse the repository at this point in the history
  • Loading branch information
aapatni committed Mar 14, 2024
1 parent 0066128 commit a693466
Show file tree
Hide file tree
Showing 11 changed files with 112 additions and 894 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,6 @@ jobs:
DB_PASSWORD: ${{ secrets.DB_PASSWORD }}
DB_HOST_URL: ${{ secrets.DB_HOST_URL }}
DB_PORT: ${{ secrets.DB_PORT }}
SUPABASE_WATCHDB_URL: ${{ secrets.SUPABASE_WATCHDB_URL }}
SUPABASE_WATCHDB_SERVICE_ROLE_KEY: ${{ secrets.SUPABASE_WATCHDB_SERVICE_ROLE_KEY }}
run: python src/data_collection/watchdb_populator.py --num_requests 25
58 changes: 0 additions & 58 deletions src/data_collection/crud.py

This file was deleted.

29 changes: 0 additions & 29 deletions src/data_collection/database.py

This file was deleted.

169 changes: 0 additions & 169 deletions src/data_collection/lambda_function.py

This file was deleted.

61 changes: 0 additions & 61 deletions src/data_collection/models.py

This file was deleted.

40 changes: 19 additions & 21 deletions src/data_collection/query_schema.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
{
"Brand": "string",
"Model": "string",
"Reference Number": "string",
"Case Material": "string",
"Case Diameter": "number",
"Case Thickness": "number",
"Lug Width": "number",
"Lug-to-Lug": "number",
"Dial Color": "string",
"Crystal Type": "string",
"Water Resistance": "string",
"Brand": {"type": "string", "required": true},
"Model": {"type": "string", "required": true},
"Reference_Number": {"type": "string", "required": true},
"Case_Material": "string",
"Case_Diameter": "number",
"Case_Thickness": "number",
"Lug_Width": "number",
"Lug_to_Lug": "number",
"Dial_Color": "string",
"Crystal_Type": "string",
"Water_Resistance": "string",
"Movement": "string",
"Caliber": "string",
"Movement Type": "string",
"Power Reserve": "string",
"Bracelet/Strap Material": "string",
"Clasp Type": "string",
"Product Weight": "string",
"Movement_Type": "string",
"Power_Reserve": "string",
"Bracelet_Strap_Material": "string",
"Clasp_Type": "string",
"Product_Weight": "string",
"Features": "string",
"Price": "number",
"Availability": "string",
"Photo URL": "string",
"Merchant Name": "string",
"Product URL": "string"
"Photo_URL": "string",
"Merchant_Name": "string",
"Product_URL": "string"
}


Loading

0 comments on commit a693466

Please sign in to comment.