Skip to content

Commit a7ec303

Browse files
committed
[no ci] release
1 parent bdcb218 commit a7ec303

File tree

2 files changed

+34
-12
lines changed

2 files changed

+34
-12
lines changed

release-history.rst

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,34 @@ Backlog (TODO)
1515
**Miscellaneous**
1616

1717

18+
2.0.0.2 (2024-05-28)
19+
------------------------------------------------------------------------------
20+
**Features and Improvements**
21+
22+
- Add "Large binary column" pattern, support local file and Amazon S3 backend.
23+
- Add the following public API
24+
- ``sqlalchemy_mate.api.patterns.large_binary_column.aws_s3``
25+
- ``sqlalchemy_mate.api.patterns.large_binary_column.aws_s3.PutS3BackedColumnResult``
26+
- ``sqlalchemy_mate.api.patterns.large_binary_column.aws_s3.put_s3backed_column``
27+
- ``sqlalchemy_mate.api.patterns.large_binary_column.aws_s3.clean_up_created_s3_object_when_create_or_update_row_failed``
28+
- ``sqlalchemy_mate.api.patterns.large_binary_column.aws_s3.clean_up_old_s3_object_when_update_row_succeeded``
29+
- ``sqlalchemy_mate.api.patterns.large_binary_column.aws_s3.PutS3ApiCall``
30+
- ``sqlalchemy_mate.api.patterns.large_binary_column.aws_s3.PutS3Result``
31+
- ``sqlalchemy_mate.api.patterns.large_binary_column.aws_s3.put_s3``
32+
- ``sqlalchemy_mate.api.patterns.large_binary_column.local``
33+
- ``sqlalchemy_mate.api.patterns.large_binary_column.local.WriteFileBackedColumnResult``
34+
- ``sqlalchemy_mate.api.patterns.large_binary_column.local.write_file_backed_column``
35+
- ``sqlalchemy_mate.api.patterns.large_binary_column.local.clean_up_new_file_when_create_or_update_row_failed``
36+
- ``sqlalchemy_mate.api.patterns.large_binary_column.local.clean_up_old_file_when_update_row_succeeded``
37+
- ``sqlalchemy_mate.api.patterns.large_binary_column.local.WriteFileApiCall``
38+
- ``sqlalchemy_mate.api.patterns.large_binary_column.local.WriteFileResult``
39+
- ``sqlalchemy_mate.api.patterns.large_binary_column.local.write_file``
40+
41+
**Minor Improvements**
42+
43+
- Use jupyter notebook to generate documentation.
44+
45+
1846
2.0.0.1 (2024-05-17)
1947
------------------------------------------------------------------------------
2048
**💥Breaking Change**

tests/test_api.py

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
def test():
55
import sqlalchemy_mate.api as sam
66

7+
# fmt: off
78
_ = sam.selecting.count_row
89
_ = sam.selecting.by_pk
910
_ = sam.selecting.select_all
@@ -42,28 +43,21 @@ def test():
4243
_ = sam.patterns.large_binary_column.aws_s3
4344
_ = sam.patterns.large_binary_column.aws_s3.PutS3BackedColumnResult
4445
_ = sam.patterns.large_binary_column.aws_s3.put_s3backed_column
45-
_ = (
46-
sam.patterns.large_binary_column.aws_s3.clean_up_created_s3_object_when_create_or_update_row_failed
47-
)
48-
_ = (
49-
sam.patterns.large_binary_column.aws_s3.clean_up_old_s3_object_when_update_row_succeeded
50-
)
46+
_ = sam.patterns.large_binary_column.aws_s3.clean_up_created_s3_object_when_create_or_update_row_failed
47+
_ = sam.patterns.large_binary_column.aws_s3.clean_up_old_s3_object_when_update_row_succeeded
5148
_ = sam.patterns.large_binary_column.aws_s3.PutS3ApiCall
5249
_ = sam.patterns.large_binary_column.aws_s3.PutS3Result
5350
_ = sam.patterns.large_binary_column.aws_s3.put_s3
5451

5552
_ = sam.patterns.large_binary_column.local
5653
_ = sam.patterns.large_binary_column.local.WriteFileBackedColumnResult
5754
_ = sam.patterns.large_binary_column.local.write_file_backed_column
58-
_ = (
59-
sam.patterns.large_binary_column.local.clean_up_new_file_when_create_or_update_row_failed
60-
)
61-
_ = (
62-
sam.patterns.large_binary_column.local.clean_up_old_file_when_update_row_succeeded
63-
)
55+
_ = sam.patterns.large_binary_column.local.clean_up_new_file_when_create_or_update_row_failed
56+
_ = sam.patterns.large_binary_column.local.clean_up_old_file_when_update_row_succeeded
6457
_ = sam.patterns.large_binary_column.local.WriteFileApiCall
6558
_ = sam.patterns.large_binary_column.local.WriteFileResult
6659
_ = sam.patterns.large_binary_column.local.write_file
60+
# fmt: on
6761

6862

6963
if __name__ == "__main__":

0 commit comments

Comments
 (0)