Skip to content

Commit

Permalink
relational.write - missing raise when a connection established (#371)
Browse files Browse the repository at this point in the history
* raise in case there's a connection

* update json schemas

---------

Co-authored-by: github-actions <[email protected]>
  • Loading branch information
spicy-sauce and github-actions authored Aug 8, 2024
1 parent ba9dc32 commit 2dbd485
Show file tree
Hide file tree
Showing 2 changed files with 629 additions and 627 deletions.
2 changes: 2 additions & 0 deletions core/src/datayoga_core/blocks/relational/write/block.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,8 @@ def execute(self, statement: Any, records: List[Dict[str, Any]]):
if not connected:
raise ConnectionError(e) from e

raise

def execute_upsert(self, records: List[Dict[str, Any]]):
"""Upserts records into the table."""
if records:
Expand Down
Loading

0 comments on commit 2dbd485

Please sign in to comment.