-
Notifications
You must be signed in to change notification settings - Fork 45
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
Add all_flags, secure_mode_hash + more #51
Conversation
@@ -14,29 +14,46 @@ | |||
log = logging.getLogger(sys.modules[__name__].__name__) | |||
|
|||
|
|||
def evaluate(flag, user, store, prereq_events=[]): | |||
def evaluate(flag, user, store): |
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.
I moved all the flag eval logic into the flag file.
@@ -15,11 +15,11 @@ | |||
root.addHandler(ch) | |||
|
|||
if __name__ == '__main__': | |||
ldclient._api_key = 'api_key' | |||
ldclient.api_key = 'api_key' |
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.
Can we change api_key to sdk_key
?
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.
I did a wholesale change- including removing the api_key prefix from the auth header.
👍 |
return default | ||
|
||
def all_flags(self, user): |
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.
@jkodumal take note of these checks when implementing in other sdks.
re-add redundant key property in identify event
Getting client up to speed with: https://catamorphic.quip.com/Ggk6AbylpJBf