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 store] Handling multiple targets of same type/name/path #886

Merged
merged 3 commits into from Apr 25, 2021

Conversation

urihoenig
Copy link
Contributor

@urihoenig urihoenig commented Apr 25, 2021

+ targets_by_kind_name
)
overriding_name_target_types = [
t[0] for t in no_name_target_types_count.items() if t[1] > 1
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
t[0] for t in no_name_target_types_count.items() if t[1] > 1
target for target, target_count in no_name_target_types_count.items() if target_count > 1

Copy link
Contributor

Choose a reason for hiding this comment

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

Same for line 107

]
+ targets_by_kind_name
)
overriding_name_target_types = [
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
overriding_name_target_types = [
target_types_requiring_name = [

Copy link
Contributor

Choose a reason for hiding this comment

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

Same for line 109

overriding_path_target_types
)
)

Copy link
Contributor

Choose a reason for hiding this comment

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

You're only verifying here the targets that gets the default name
What about verifying that the case where you received several targets, that has names, but more than one target has the same name ?

@urihoenig urihoenig changed the title Feature store: Handling multiple targets of same type [Feature store]: Handling multiple targets of same type Apr 25, 2021
@urihoenig urihoenig changed the title [Feature store]: Handling multiple targets of same type [Feature store] Handling multiple targets of same type Apr 25, 2021
@urihoenig urihoenig changed the title [Feature store] Handling multiple targets of same type [Feature store] Handling multiple targets of same type/name/path Apr 25, 2021
@urihoenig urihoenig closed this Apr 25, 2021
@urihoenig urihoenig reopened this Apr 25, 2021
@Hedingber Hedingber merged commit 44ad9a7 into mlrun:development Apr 25, 2021
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.

None yet

2 participants