From 8ed8fd2f7559a9df345cadab1b5ff0a9bbe8f108 Mon Sep 17 00:00:00 2001 From: Dan Birman Date: Thu, 21 Mar 2024 13:38:39 -0700 Subject: [PATCH] fix: need buckets in save/load, not in bucket --- models/csharp/dock/BucketModel.cs | 1 - models/schemas/dock/BucketModel.json | 2 +- src/vbl_aquarium/models/dock.py | 2 ++ 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/models/csharp/dock/BucketModel.cs b/models/csharp/dock/BucketModel.cs index 6653e97..31ec057 100644 --- a/models/csharp/dock/BucketModel.cs +++ b/models/csharp/dock/BucketModel.cs @@ -4,6 +4,5 @@ public struct BucketModel { public string Token; - public string Bucket; public string Password; } diff --git a/models/schemas/dock/BucketModel.json b/models/schemas/dock/BucketModel.json index 4c462e5..b2335e9 100644 --- a/models/schemas/dock/BucketModel.json +++ b/models/schemas/dock/BucketModel.json @@ -1 +1 @@ -{"properties": {"Token": {"title": "Token", "type": "string"}, "Bucket": {"title": "Bucket", "type": "string"}, "Password": {"title": "Password", "type": "string"}}, "required": ["Token", "Bucket", "Password"], "title": "BucketModel", "type": "object"} \ No newline at end of file +{"properties": {"Token": {"title": "Token", "type": "string"}, "Password": {"title": "Password", "type": "string"}}, "required": ["Token", "Password"], "title": "BucketModel", "type": "object"} \ No newline at end of file diff --git a/src/vbl_aquarium/models/dock.py b/src/vbl_aquarium/models/dock.py index e4c7633..4399166 100644 --- a/src/vbl_aquarium/models/dock.py +++ b/src/vbl_aquarium/models/dock.py @@ -16,8 +16,10 @@ class UploadModel(VBLBaseModel): # Models for sending save/load messages class SaveModel(VBLBaseModel): + bucket: str password: str class LoadModel(VBLBaseModel): + bucket: str password: str