Skip to content

Commit 5591954

Browse files
committed
work in progress
1 parent 5354e0d commit 5591954

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

src/query_farm_server_base/server.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ class GetCatalogVersionResult(BaseModel):
4141
is_fixed: bool
4242

4343

44+
class CreateTransactionResult(BaseModel):
45+
identifier: str | None
46+
47+
4448
class AirportSerializedContentsWithSHA256Hash(BaseModel):
4549
# This is the sha256 hash of the serialized data
4650
sha256: str
@@ -370,7 +374,7 @@ def action_create_transaction(
370374
*,
371375
context: CallContext[AccountType, TokenType],
372376
database_name: str,
373-
) -> tuple[str | None]:
377+
) -> CreateTransactionResult:
374378
pass
375379

376380
@log_action()
@@ -478,7 +482,7 @@ def do_action(
478482
self.action_create_transaction(
479483
context=call_context,
480484
database_name=action.body.to_pybytes().decode("utf-8"),
481-
)
485+
).identifier
482486
)
483487
elif action.type == "drop_not_null":
484488
self.action_drop_not_null(

0 commit comments

Comments
 (0)