Extending TxPaginationMeta in queries#77
Merged
kuvaldini merged 21 commits intohyperledger-iroha:developfrom Sep 10, 2021
Merged
Extending TxPaginationMeta in queries#77kuvaldini merged 21 commits intohyperledger-iroha:developfrom
kuvaldini merged 21 commits intohyperledger-iroha:developfrom
Conversation
|
The issue depends on features from hyperledger-iroha/iroha#1092 @Pawlak00 I suggest to rebase with destination branch |
baziorek
requested changes
Jul 27, 2021
baziorek
left a comment
There was a problem hiding this comment.
Code looks quite good, just few changes before we send its to iroha-core-team for review.
baziorek
approved these changes
Jul 27, 2021
baziorek
left a comment
There was a problem hiding this comment.
It looks OK for me. You can change its from draft PR into normal PR.
iceseer
approved these changes
Sep 7, 2021
|
Make plz this branch on top of |
kuvaldini
suggested changes
Sep 7, 2021
Signed-off-by: Piotr Pawlowski <ppiotru@gmail.com>
Signed-off-by: Piotr Pawlowski <ppiotru@gmail.com>
Signed-off-by: Piotr Pawlowski <ppiotru@gmail.com>
Signed-off-by: Piotr Pawlowski <ppiotru@gmail.com>
Signed-off-by: Piotr Pawlowski <ppiotru@gmail.com>
Signed-off-by: Piotr Pawlowski <ppiotru@gmail.com>
Signed-off-by: Piotr Pawlowski <ppiotru@gmail.com>
Signed-off-by: Piotr Pawlowski <ppiotru@gmail.com>
Signed-off-by: Piotr Pawlowski <ppiotru@gmail.com>
Signed-off-by: Piotr Pawlowski <ppiotru@gmail.com>
Signed-off-by: Piotr Pawlowski <ppiotru@gmail.com>
Signed-off-by: Piotr Pawlowski <ppiotru@gmail.com>
Signed-off-by: Piotr Pawlowski <ppiotru@gmail.com>
Signed-off-by: Piotr Pawlowski <ppiotru@gmail.com>
baziorek
approved these changes
Sep 9, 2021
baziorek
left a comment
There was a problem hiding this comment.
Code is still correct after fixing issues. Just few small things to correct
Signed-off-by: Piotr Pawlowski <ppiotru@gmail.com>
Signed-off-by: Piotr Pawlowski <ppiotru@gmail.com>
Author
Author
|
I think it is ready @iceseer @kuvaldini |
kuvaldini
approved these changes
Sep 10, 2021
kamilsa
approved these changes
Sep 10, 2021
baziorek
pushed a commit
to baziorek/iroha-python
that referenced
this pull request
Feb 28, 2022
* quries extended * example added * docs comment added * schema changed * formatting fixed * ordering added * edge case fix, now 0 passed as height or timestamp is passing * PaginationMeta in GetPendingTransactions * examples/query_transactions.py Signed-off-by: Piotr Pawlowski <ppiotru@gmail.com>
baziorek
pushed a commit
to baziorek/iroha-python
that referenced
this pull request
Feb 28, 2022
* quries extended * example added * docs comment added * schema changed * formatting fixed * ordering added * edge case fix, now 0 passed as height or timestamp is passing * PaginationMeta in GetPendingTransactions * examples/query_transactions.py Signed-off-by: Piotr Pawlowski <ppiotru@gmail.com> Signed-off-by: G.Bazior <bazior@agh.edu.pl>
baziorek
pushed a commit
to baziorek/iroha-python
that referenced
this pull request
Feb 28, 2022
* quries extended * example added * docs comment added * schema changed * formatting fixed * ordering added * edge case fix, now 0 passed as height or timestamp is passing * PaginationMeta in GetPendingTransactions * examples/query_transactions.py Signed-off-by: Piotr Pawlowski <ppiotru@gmail.com> Signed-off-by: G.Bazior <bazior@agh.edu.pl>
baziorek
pushed a commit
to baziorek/iroha-python
that referenced
this pull request
Feb 28, 2022
* quries extended * example added * docs comment added * schema changed * formatting fixed * ordering added * edge case fix, now 0 passed as height or timestamp is passing * PaginationMeta in GetPendingTransactions * examples/query_transactions.py Signed-off-by: Piotr Pawlowski <ppiotru@gmail.com> Signed-off-by: G.Bazior <bazior@agh.edu.pl>
baziorek
added a commit
to baziorek/iroha-python
that referenced
this pull request
Mar 2, 2022
…iroha#77 Signed-off-by: G.Bazior <bazior@agh.edu.pl>
baziorek
added a commit
that referenced
this pull request
Mar 23, 2022
* Extending TxPaginationMeta in queries (#77) * quries extended * example added * docs comment added * schema changed * formatting fixed * ordering added * edge case fix, now 0 passed as height or timestamp is passing * PaginationMeta in GetPendingTransactions * examples/query_transactions.py Signed-off-by: Piotr Pawlowski <ppiotru@gmail.com> Signed-off-by: G.Bazior <bazior@agh.edu.pl> * Update proto files and generated python files to support Iroha 1.4 (#96) * Update proto files with script `download-schema.py` Signed-off-by: Grzegorz Bazior <g.bazior@yodiss.pl> * Generated python files from protobuf files with script `compile-proto.py` Signed-off-by: G.Bazior <bazior@agh.edu.pl> Co-authored-by: Grzegorz Bazior <g.bazior@yodiss.pl> Signed-off-by: G.Bazior <bazior@agh.edu.pl> * Corrected merge - rerun scripts: download-schema.py and compile-proto.py Signed-off-by: G.Bazior <bazior@agh.edu.pl> * Tab -> spaces Signed-off-by: G.Bazior <bazior@agh.edu.pl> * Add ability to provide custom TLS cert (#63) Signed-off-by: Stepan Lavrentev <lawrentievsv@gmail.com> Signed-off-by: G.Bazior <bazior@agh.edu.pl> * Add ordering sequence to params in query (#73) * Add ordering sequence to params Makes possible to add ordering sequence to Query. Fixes #72 Signed-off-by: Rafik Naccache <rafik@fekr.tech> * Add :param ordering_sequence: Signed-off-by: Rafik Naccache <rafik@fekr.tech> * Fix wrong example for :param ordering_sequence: Signed-off-by: Rafik Naccache <rafik@fekr.tech> * fix wrong ordering message construction in query After more documentation I got to the way to construct to ordering object Signed-off-by: Rafik Naccache <rafik@fekr.tech> * remove redundant OR clause to manage ordering_sequence Signed-off-by: Rafik Naccache <rafik@fekr.tech> Signed-off-by: G.Bazior <bazior@agh.edu.pl> * Extending TxPaginationMeta in queries (#77) * quries extended * example added * docs comment added * schema changed * formatting fixed * ordering added * edge case fix, now 0 passed as height or timestamp is passing * PaginationMeta in GetPendingTransactions * examples/query_transactions.py Signed-off-by: Piotr Pawlowski <ppiotru@gmail.com> Signed-off-by: G.Bazior <bazior@agh.edu.pl> * Added missing changes from Pawlak00@b6d7f42 corrected in #77 Signed-off-by: G.Bazior <bazior@agh.edu.pl> Co-authored-by: Piotr Pawłowski <68233055+Pawlak00@users.noreply.github.com> Co-authored-by: Grzegorz Bazior <g.bazior@yodiss.pl> Co-authored-by: Stepan Lavrentev <40560660+stepanLav@users.noreply.github.com> Co-authored-by: Rafik NACCACHE <rafik@fekr.tech>
baziorek
added a commit
that referenced
this pull request
Aug 22, 2022
* Extending TxPaginationMeta in queries (#77) * quries extended * example added * docs comment added * schema changed * formatting fixed * ordering added * edge case fix, now 0 passed as height or timestamp is passing * PaginationMeta in GetPendingTransactions * examples/query_transactions.py Signed-off-by: Piotr Pawlowski <ppiotru@gmail.com> Signed-off-by: G.Bazior <bazior@agh.edu.pl> * Update proto files and generated python files to support Iroha 1.4 (#96) * Update proto files with script `download-schema.py` Signed-off-by: Grzegorz Bazior <g.bazior@yodiss.pl> * Generated python files from protobuf files with script `compile-proto.py` Signed-off-by: G.Bazior <bazior@agh.edu.pl> Co-authored-by: Grzegorz Bazior <g.bazior@yodiss.pl> Signed-off-by: G.Bazior <bazior@agh.edu.pl> * Corrected merge - rerun scripts: download-schema.py and compile-proto.py Signed-off-by: G.Bazior <bazior@agh.edu.pl> * Tab -> spaces Signed-off-by: G.Bazior <bazior@agh.edu.pl> * Add ability to provide custom TLS cert (#63) Signed-off-by: Stepan Lavrentev <lawrentievsv@gmail.com> Signed-off-by: G.Bazior <bazior@agh.edu.pl> * Add ordering sequence to params in query (#73) * Add ordering sequence to params Makes possible to add ordering sequence to Query. Fixes #72 Signed-off-by: Rafik Naccache <rafik@fekr.tech> * Add :param ordering_sequence: Signed-off-by: Rafik Naccache <rafik@fekr.tech> * Fix wrong example for :param ordering_sequence: Signed-off-by: Rafik Naccache <rafik@fekr.tech> * fix wrong ordering message construction in query After more documentation I got to the way to construct to ordering object Signed-off-by: Rafik Naccache <rafik@fekr.tech> * remove redundant OR clause to manage ordering_sequence Signed-off-by: Rafik Naccache <rafik@fekr.tech> Signed-off-by: G.Bazior <bazior@agh.edu.pl> * Extending TxPaginationMeta in queries (#77) * quries extended * example added * docs comment added * schema changed * formatting fixed * ordering added * edge case fix, now 0 passed as height or timestamp is passing * PaginationMeta in GetPendingTransactions * examples/query_transactions.py Signed-off-by: Piotr Pawlowski <ppiotru@gmail.com> Signed-off-by: G.Bazior <bazior@agh.edu.pl> * Added missing changes from Pawlak00@b6d7f42 corrected in #77 Signed-off-by: G.Bazior <bazior@agh.edu.pl> * Examples refactor + added example of MST developed by Leo (#103) * Refactoring of example tx-example.py Signed-off-by: G.Bazior <bazior@agh.edu.pl> * Added sample of MST transactions. The code was originally developed by Leo: https://github.com/iptelephony/jubilant-engine but he agreed to add his code to examples Signed-off-by: G.Bazior <bazior@agh.edu.pl> * Generated protobuf files with protobuf 3.12.4 on Ubuntu 21.04 (#104) Signed-off-by: G.Bazior <bazior@agh.edu.pl> * Serious refactoring + improvements + adding new examples for Iroha 1 (#107) * Update README * Refactoring in tls-example.py * A little refactoring of batch-example.py * Small refactoring of blocks-query.py * Small refactoring of infinite-blocks-stream.py * Added sample how to use ordering of result transactions * Refacroting in query_transactions.py * Renamed file with convention used in other files * Added examples in comments * Some refactoring in examples + added docstring in each file * chmod +x * Updated iroha version from 1.4 -> 1.5 Signed-off-by: G.Bazior <bazior@agh.edu.pl> * Add autorestart to iroha Signed-off-by: Alexey Rodionov <rodionov12@gmail.com> * Cherry-pick fix Signed-off-by: G.Bazior <bazior@agh.edu.pl> * Generated python files from protobuf on Ubuntu:20.04 Signed-off-by: G.Bazior <bazior@agh.edu.pl> * Dependencies fix Signed-off-by: G.Bazior <bazior@agh.edu.pl> * Added space in logging after review Signed-off-by: G.Bazior <bazior@agh.edu.pl> * Made import in code more readable after review Signed-off-by: G.Bazior <bazior@agh.edu.pl> Signed-off-by: Piotr Pawlowski <ppiotru@gmail.com> Signed-off-by: G.Bazior <bazior@agh.edu.pl> Signed-off-by: Stepan Lavrentev <lawrentievsv@gmail.com> Signed-off-by: Rafik Naccache <rafik@fekr.tech> Signed-off-by: Alexey Rodionov <rodionov12@gmail.com> Co-authored-by: Piotr Pawłowski <68233055+Pawlak00@users.noreply.github.com> Co-authored-by: Grzegorz Bazior <g.bazior@yodiss.pl> Co-authored-by: Stepan Lavrentev <40560660+stepanLav@users.noreply.github.com> Co-authored-by: Rafik NACCACHE <rafik@fekr.tech> Co-authored-by: Alexey Rodionov <rodionov12@gmail.com>
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Using extended TxPaginationMeta in iroha-python library.