Skip to content

order_by(self, func=identity, descending=False) #21

@s-celles

Description

@s-celles

Hello,

I noticed

def order_by(self, key_selector=identity):

and

def order_by(self, func=identity):

I wonder if having descending keyword couldn't be a nice API improvement.

when descending is True, order_by_descending will be called.

What is your opinion?

Kind regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions