Skip to content

Commit

Permalink
adding to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Finlayson committed Aug 6, 2014
1 parent 35e1cf8 commit a020ed1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,9 @@ the scope of the full Consulate API.
# Find all keys that start with "fl"
session.kv.find('fl')
# Find all keys that start with "feature_flag" terminated by "/" separator
session.kv.find('feature_flag', separator='/')
# Check to see if a key called "foo" is set
if "foo" in session.kv:
print 'Already Set'
Expand Down
10 changes: 10 additions & 0 deletions consulate.iml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="PYTHON_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

0 comments on commit a020ed1

Please sign in to comment.