-
Notifications
You must be signed in to change notification settings - Fork 2
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
Override time delay #15
base: hbo-feathr-branch
Are you sure you want to change the base?
Conversation
|
||
def to_feature_config(self) -> str: | ||
tm = Template(""" | ||
{ | ||
key: [{{key_columns}}] | ||
featureList: [{{feature_names}}] | ||
{% if query.overrideTimeDelay is defined %} |
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.
{% if query.overrideTimeDelay is defined %} | |
{% if query.overrideTimeDelay %} |
@@ -3,29 +3,66 @@ | |||
from loguru import logger | |||
from feathr.definition.feathrconfig import HoconConvertible | |||
|
|||
class ConflictsAutoCorrection(): |
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.
Oh interesting. This is updated code from the official feathr repo that hasn't been merged into this repo yet 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.
left some small suggestions but lgtm!
if override_time_delay: | ||
self.overrideTimeDelay = override_time_delay |
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.
if override_time_delay: | |
self.overrideTimeDelay = override_time_delay | |
self.overrideTimeDelay = override_time_delay |
small nit: but can be expressed a bit cleaner like this and the suggestion in L28
Description
Resolves #XXX
How was this PR tested?
Does this PR introduce any user-facing changes?