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

Wrapper Return: Consider Tuple/Pair return types #1188

Open
1 of 2 tasks
acarbonetto opened this issue Mar 27, 2024 · 1 comment
Open
1 of 2 tasks

Wrapper Return: Consider Tuple/Pair return types #1188

acarbonetto opened this issue Mar 27, 2024 · 1 comment

Comments

@acarbonetto
Copy link
Collaborator

acarbonetto commented Mar 27, 2024

Describe the feature

Consider returning Tuple/Pair for Python/Java wrappers for commands that return an array of finite size.

Use Case

Example:

  • time
  • zrankWithScore
  • blpop and brpop
  • bzpopmax and bzpopmin
  • bzmpop and zmpop

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Client version used

N/A

Environment details (OS name and version, etc.)

N/A

@Yury-Fridlyand
Copy link
Collaborator

ref: glide data conversion

pub(crate) fn expected_type_for_cmd(cmd: &Cmd) -> Option<ExpectedReturnType> {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants