-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support SQLAlchemy 2.0 with
sqlalchemy-oso
(#1739)
- Loading branch information
1 parent
efc3407
commit d57c4cc
Showing
14 changed files
with
183 additions
and
103 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
pytest==7.0.1 | ||
flask | ||
flask<2.2 | ||
Werkzeug==2.2.2 | ||
flask_sqlalchemy<3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
oso~=0.27.1 | ||
SQLAlchemy>=1.3.17,<1.5 | ||
oso~=0.27.0 | ||
SQLAlchemy>=1.3.17,<3.0 | ||
packaging>=21.3,<24.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
__version__ = "0.27.1" | ||
__version__ = "0.27.2" | ||
|
||
|
||
from .auth import register_models | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
d57c4cc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rust Benchmark
rust_get_attribute
29007
ns/iter (± 1681
)28593
ns/iter (± 1129
)1.01
n_plus_one/100
1561224
ns/iter (± 22125
)1532810
ns/iter (± 32779
)1.02
n_plus_one/500
7570890
ns/iter (± 235880
)7413304
ns/iter (± 147108
)1.02
n_plus_one/1000
14999531
ns/iter (± 60196
)14726790
ns/iter (± 99436
)1.02
unify_once
608
ns/iter (± 1259
)612
ns/iter (± 1601
)0.99
unify_twice
1701
ns/iter (± 68
)1722
ns/iter (± 477
)0.99
many_rules
37888
ns/iter (± 1313
)38444
ns/iter (± 1655
)0.99
fib/5
342334
ns/iter (± 5618
)346628
ns/iter (± 5649
)0.99
prime/3
10141
ns/iter (± 559
)10389
ns/iter (± 435
)0.98
prime/23
10123
ns/iter (± 479
)10417
ns/iter (± 13795
)0.97
prime/43
10152
ns/iter (± 416
)10373
ns/iter (± 432
)0.98
prime/83
10143
ns/iter (± 479
)10378
ns/iter (± 505
)0.98
prime/255
9149
ns/iter (± 501
)9292
ns/iter (± 399
)0.98
indexed/100
3411
ns/iter (± 396
)3435
ns/iter (± 419
)0.99
indexed/500
3719
ns/iter (± 554
)3903
ns/iter (± 1041
)0.95
indexed/1000
4011
ns/iter (± 1566
)4413
ns/iter (± 252
)0.91
indexed/10000
7303
ns/iter (± 887
)7873
ns/iter (± 2238
)0.93
not
4023
ns/iter (± 61
)3957
ns/iter (± 59
)1.02
double_not
8522
ns/iter (± 210
)8445
ns/iter (± 116
)1.01
De_Morgan_not
5460
ns/iter (± 105
)5375
ns/iter (± 190
)1.02
load_policy
666208
ns/iter (± 5903
)658634
ns/iter (± 1819
)1.01
partial_and/1
20344
ns/iter (± 915
)20637
ns/iter (± 723
)0.99
partial_and/5
67272
ns/iter (± 2375
)68518
ns/iter (± 2310
)0.98
partial_and/10
126310
ns/iter (± 3491
)129094
ns/iter (± 3590
)0.98
partial_and/20
265945
ns/iter (± 7360
)269045
ns/iter (± 5442
)0.99
partial_and/40
581984
ns/iter (± 7718
)588582
ns/iter (± 7817
)0.99
partial_and/80
1354955
ns/iter (± 9774
)1363808
ns/iter (± 9505
)0.99
partial_and/100
1814713
ns/iter (± 4678
)1817673
ns/iter (± 11495
)1.00
partial_rule_depth/1
61940
ns/iter (± 2230
)62518
ns/iter (± 2317
)0.99
partial_rule_depth/5
212137
ns/iter (± 5253
)214194
ns/iter (± 5979
)0.99
partial_rule_depth/10
483087
ns/iter (± 11449
)485248
ns/iter (± 8924
)1.00
partial_rule_depth/20
1379490
ns/iter (± 25463
)1380553
ns/iter (± 18146
)1.00
partial_rule_depth/40
4964807
ns/iter (± 29388
)4942475
ns/iter (± 26580
)1.00
partial_rule_depth/80
27331603
ns/iter (± 220687
)27557996
ns/iter (± 306430
)0.99
partial_rule_depth/100
49411962
ns/iter (± 459309
)49507033
ns/iter (± 548583
)1.00
This comment was automatically generated by workflow using github-action-benchmark.