-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for custom settings for Reindexer #19
Merged
Merged
Changes from 136 commits
Commits
Show all changes
139 commits
Select commit
Hold shift + click to select a range
6bbe288
[fix] Rework code according to Valgrind's recommendations
d27da93
Clear code
81ca870
Avoid PEP's warnings
2f9edd5
Update code
0ded690
Support sync transactions
de64dac
Rewrite query results wrapper
0392983
Properly use NewItem method. Reorganize code
1cbd051
Implement transaction py API
1a77b8e
Add transaction py-tests
3ac3485
Update Readme.md
0d44728
[fix] Fix build pyreindexer with reindexer v.4.15
2f01596
Try fix MacOS tests
ce25efa
Merge branch 'fix/rework_code_according_to_valgrinds_recommendations'…
da03def
Correct style
e016c33
Update tests
a7b03c2
Reorganize README
d0d732d
Correct test_item
afa4770
Merge branch 'fix/build_pyreindexer_with_v4.15.0_GetAggregationResult…
99099fa
Update transaction test
ae9dcd4
Simplify code
5454cf9
Style changes
247b231
Start of implementation of query builder
b3fad40
Part I: start of implementation of query builder
1f53241
Part II: start of implementation of query builder
122c00c
Part III: start of implementation of query builder
25c868a
Part IV: start of implementation of query builder
f403305
Merge branch 'master' into feature/add_transaction_support
a68c5b7
Merge branch 'feature/add_transaction_support' into feature/add_query…
5b10ceb
Part V: start of implementation of query builder
cbc34aa
Part VI: start of implementation of query builder
cd35c30
Add commit_with_count()
8f7542d
Add commit_with_count(). Fix code and check in test
0972bc7
Merge branch 'feature/add_transaction_support' into feature/add_query…
c9070b4
Rewrite query_wrapper
30b8806
Rewrite query_wrapper. Part II
bd55939
Rewrite query_wrapper. Part III: add where for Variant
2d64757
Rewrite query_wrapper. Part IV: add where for Variant. Clean code
2d6423f
Part VII: start of implementation of query builder. Add where
5280a2b
Part VIII: start of implementation of query builder. Add Point and dw…
dd7aceb
Part IX: start of implementation of query builder. Add simple aggregate
35dd3ed
Part X: start of implementation of query builder. Add sort
eee1335
Part XI: start of implementation of query builder. Add aggregation
87cf4a6
Part XI: start of implementation of query builder. Add aggregation. Fix
3e04ec2
Part XII: start of implementation of query builder. Add SetObject
ea30af2
Part XIII: start of implementation of query builder. Add Join
066efca
Part XIV: start of implementation of query builder. Add Delete. Part I
c14a9ae
Part XV: start of implementation of query builder. Add Insert\Delete\…
5cd9e40
Part XV: start of implementation of query builder. Add Insert\Delete\…
d051dba
Part XV: start of implementation of query builder. Add Insert\Delete\…
cc74f67
[ref] tests
e6fee62
Part XVI: start of implementation of query builder. Add Get(firstItem…
4286c1b
Part XVII: clear code. Hide all context unimplemented functions
f412d96
Prevent warning on build
e57ed58
Update comments
4ab751e
[ref] more test refactoring
5f242fe
[fix] bump setup version
7fca19e
[fix] fix imports for ci
35c2fd0
[fix] bump version
e57fa7a
[fix] update package_data
20b70d9
[fix] fix imports and package_data
5351f97
Part XVIII: add using fetch count
c328388
Merge branch 'ref_tests' into feature/add_query_support
c629d18
[ref] small code ref
4b40a64
[ref] ref tests with tx
319e615
Merge remote-tracking branch 'origin/feature/add_query_support' into …
c255552
Clear code after review
dc5a7d3
Part XVIII: rollback using fetch count. Fix execute method
d5bb868
Part XIX: remove Query aliases from connector (select\delete\update)
02908c5
Simplify example code
08941cf
Remove `-Wold-style-cast` cmake flag
d60c9f6
Merge remote-tracking branch 'origin/feature/add_query_support' into …
e2a8ea8
[fix] fix tests with tx
0c72d21
add initial query tests
19e881f
Part XX: remove support of FetchCount from Query object
17009b8
Simplify code
b3303be
add new query tests
c4b8f08
Part XXI: bug fix. Segmentation fault
3cf7a9a
add new query select tests
bb98bca
Merge branch 'master' into feature/add_query_support
edf2f41
Part XXII: update readme generation (pydoc_markdown)
599410c
Part XXIII: enum for LogLevel
e4fc259
Small updates
f38e721
Part XXIV: Add support GetExplainResults
192e168
add query tests: update, delete
603ac96
Update markdown
2553303
Part XXV: Bug fixes
fae7270
Part XXV: Bug fixes. Part II
c9e74da
[fix] err for select and update, querytests
835b7dc
[fix] more query test fixes
f4946b5
[fix] fix forced_sort test
49eb82e
Part XXV: Bug fixes. Part III: set & set_object
60d071a
add more query tests
b091390
Simplify code
46afcd5
Part XXV: Bug fixes. Part IV: expected: <[{'id': -1}]> but: was <[{'i…
7bc415e
add more tests with negative
2164fcf
add null to create items test
89a7465
Part XXVI: add return TotalCount
26d70c2
Part XXVII: disable WAL-queries
7c0bc72
Part XXVII: disable WAL-queries. Catch unhandled exception
4480dec
Part XXVIII: Return JOIN result. Part
9a4abfb
Part XXIX: where_query check
c57663f
Part XXX: where_composite fixes. Part
fdcfe30
Part XXX: where_composite fixes. Part
49ddd64
Part XXX: where_composite fixes. Part. Fix
cfce014
Part XXX: where_composite done
4378562
Part XXXI: join support/ Part
bbf4b41
Part XXXI: join support. Part
9ec593f
Part XXXI: join support. Simplify code
6910083
add join tests
0d09c11
Part XXXII: fix v.4 build
ca7916e
Corrections and fixes
c23fb33
Simplify code, correct style
ceea55b
Merge branch 'master' into feature/add_query_support
1f726be
Fix. Add default value
d2c0a66
Update minimal Reindexer version
d3fd315
Client configuration support for Reindexer
1bccaae
add exceptions
a2f80cd
Client configuration support for Reindexer. Fix MacOS build
db70321
Client configuration support for Reindexer. ReFix MacOS build
fcba1b5
fix raises in docstrings
aaeb1fa
small ref, fix expected exception
b4360b3
Update readme file
28ff2dc
Fix build
4748384
Fix build
794eb5f
Fix build
ab66015
Review changes
a39b966
Review changes
f280c66
Review changes
1325842
Merge branch 'master' into feature/add_query_support
1e4a49f
Review changes. Fix build
efd1436
Add query in transaction
b15395b
Update version
a1b0666
Merge branch 'feature/add_query_support' into feature/reindexer_confi…
c568aac
Merge branch 'master' into feature/reindexer_config_support
d6479e5
Update version
985b530
Correct README
7777016
Merge branch 'master' into feature/reindexer_config_support
70ef6a7
Review changes
cc37833
Update version
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Вот у этого конфига, как я вижу, на v3 и v4 отличаются конструкторы. Для совместимости с обеими версиями, чтобы не ждать полного переезда на v4, можно сейчас сделать что-то типа такого:
И в конструкторе тогда инициализировать db_ вот так:
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.
Можно, но толку немного. Есть важный параметр в v4:
milliseconds _NetTimeout = milliseconds(0),
а в v3:И получится для совместимости без него\их нужно работать