Skip to content

Conversation

@hinthornw
Copy link
Collaborator

Default list is long now. This would let you do something like

registry.filter(Type="RetrievalTask")

@hinthornw hinthornw requested a review from eyurtsev November 21, 2023 17:31
]
return tabulate(table, headers=headers, tablefmt="html")

def filter(self, **kwargs) -> Registry:
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think better not to use kwargs for APIs, but spell out some of the named arguments

@hinthornw hinthornw merged commit fd0203c into main Nov 21, 2023
@hinthornw hinthornw deleted the wfh/filter branch November 21, 2023 17:48
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.

2 participants