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

Add all_flags, secure_mode_hash + more #51

Merged
merged 8 commits into from
Aug 4, 2016
Merged

Add all_flags, secure_mode_hash + more #51

merged 8 commits into from
Aug 4, 2016

Conversation

drichelson
Copy link
Contributor

Getting client up to speed with: https://catamorphic.quip.com/Ggk6AbylpJBf

@@ -14,29 +14,46 @@
log = logging.getLogger(sys.modules[__name__].__name__)


def evaluate(flag, user, store, prereq_events=[]):
def evaluate(flag, user, store):
Copy link
Contributor Author

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'
Copy link
Contributor

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?

Copy link
Contributor Author

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.

@jkodumal
Copy link
Contributor

jkodumal commented Aug 3, 2016

👍

return default

def all_flags(self, user):
Copy link
Contributor Author

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.

@drichelson drichelson merged commit 9517055 into v2 Aug 4, 2016
@drichelson drichelson deleted the dr/v2Polish branch August 4, 2016 15:28
eli-darkly added a commit that referenced this pull request May 10, 2018
re-add redundant key property in identify event
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