Skip to content
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

Allow query params to get_transactions api method #978

Merged
merged 3 commits into from May 14, 2024

Conversation

falvaradorodriguez
Copy link
Contributor

Closes #890

@falvaradorodriguez falvaradorodriguez self-assigned this May 13, 2024
@falvaradorodriguez falvaradorodriguez requested a review from a team as a code owner May 13, 2024 13:44

if kwargs:
query_string = urlencode(
{key: f"{value}" for key, value in kwargs.items() if value is not None}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No strong preference but str(value) might look more clear? I don't know

falvaradorodriguez and others added 2 commits May 14, 2024 09:38
Co-authored-by: Uxío <Uxio0@users.noreply.github.com>
@falvaradorodriguez falvaradorodriguez merged commit 3270610 into main May 14, 2024
7 checks passed
@falvaradorodriguez falvaradorodriguez deleted the allow_query_params_get_transactions branch May 14, 2024 08:22
@github-actions github-actions bot locked and limited conversation to collaborators May 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor get_transactions method of transaction_service_api to allow sending query params
2 participants