-
Notifications
You must be signed in to change notification settings - Fork 3k
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
fix(ingest): always resolve platform for browse path v2 #12045
fix(ingest): always resolve platform for browse path v2 #12045
Conversation
801f047
to
73c38bc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What bug came up that caused us to need this?
getattr(config, "platform_name", None) | ||
or getattr(self, "platform", None) | ||
or getattr(config, "platform", None) | ||
) | ||
if platform is None and hasattr(self, "get_platform_id"): | ||
platform = type(self).get_platform_id() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
get_platform_id comes from the decorators, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes. This was observed for dremio that platform_instance entry was not getting added in browse path v2.
Checklist