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

Feature: list iterator level #22

Closed
wants to merge 3 commits into from

Conversation

mcakircali
Copy link

No description provided.

@FussyDuck
Copy link

FussyDuck commented Aug 7, 2024

CLA assistant check
All committers have signed the CLA.

@@ -168,15 +168,15 @@ class ListIterator:
__iterator = None
__key = False

def __init__(self, fdb, request, duplicates, key=False, expand=True):
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there a particular reason to set the argument to 3 in case of not providing it? I'd assume that 3 currently means everything? Is there a way to return everything via the fdb api?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I know there is documentation for the function missing, but could you add it and also add it for the new parameter?

for id, el in enumerate(pyfdb.list(request, True, True, False, 1)):
assert "keys" in el
assert el["keys"] == list[id]
# print("%(keys)s" % el)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Here a comment slipped through

@mcakircali mcakircali closed this Aug 8, 2024
@mcakircali mcakircali deleted the feature/list-iterator-level branch August 8, 2024 07:58
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

Successfully merging this pull request may close these issues.

3 participants