Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Ilchuk committed Dec 20, 2023
1 parent f1ae311 commit f0d94d1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion test/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,4 +364,3 @@ def test_several_keys(self, connection, metadata):
assert desc.partitioning_settings.partitioning_by_load == 1
assert desc.partitioning_settings.min_partitions_count == 3
assert desc.partitioning_settings.max_partitions_count == 5

1 change: 1 addition & 0 deletions ydb_sqlalchemy/sqlalchemy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,7 @@ def _render_table_partitioning_settings(self, ydb_opts: Dict[str, Any]) -> List[
table_partitioning_settings.append(f"PARTITION_AT_KEYS = {ydb_opts['partition_at_keys']}")
return table_partitioning_settings


def upsert(table):
return sa.sql.Insert(table)

Expand Down

0 comments on commit f0d94d1

Please sign in to comment.