File tree Expand file tree Collapse file tree
src/query_farm_server_base Expand file tree Collapse file tree Original file line number Diff line number Diff 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+
4448class 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 (
You can’t perform that action at this time.
0 commit comments