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

Make the parametric type of CachedMapper to be the return type #427

Merged
merged 1 commit into from
Apr 19, 2023

Conversation

kaushikcfd
Copy link
Collaborator

Before this patch, the parametric type in CachedMapper denoted the input type of the mapper which is unnecessary as the input type is always ArrayOrNames.

I think #409 is also talking about this same thing.

@kaushikcfd kaushikcfd force-pushed the correct_cached_mapper_types branch from 2a16e44 to b4de0ab Compare April 19, 2023 00:04
@kaushikcfd kaushikcfd requested a review from inducer April 19, 2023 00:21
@inducer inducer force-pushed the correct_cached_mapper_types branch from b4de0ab to c74acdf Compare April 19, 2023 16:00
Copy link
Owner

@inducer inducer left a comment

Choose a reason for hiding this comment

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

Thanks! Looks good generally, just some nits below.

pytato/transform/__init__.py Outdated Show resolved Hide resolved
pytato/transform/__init__.py Outdated Show resolved Hide resolved
@kaushikcfd kaushikcfd force-pushed the correct_cached_mapper_types branch from c74acdf to cc756f2 Compare April 19, 2023 16:49
@kaushikcfd kaushikcfd requested a review from inducer April 19, 2023 16:50
@inducer inducer force-pushed the correct_cached_mapper_types branch from cc756f2 to 1cde5f3 Compare April 19, 2023 17:33
@inducer inducer enabled auto-merge (rebase) April 19, 2023 17:33
@inducer
Copy link
Owner

inducer commented Apr 19, 2023

Thx! Pushed a minor fix, LGTM.

@inducer inducer merged commit f46d9bb into main Apr 19, 2023
@inducer inducer deleted the correct_cached_mapper_types branch April 19, 2023 18:19
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