diff --git a/content/operate/oss_and_stack/stack-with-enterprise/gears-v1/python/quickstart.md b/content/operate/oss_and_stack/stack-with-enterprise/gears-v1/python/quickstart.md index 94dac18f8..f65b395ad 100644 --- a/content/operate/oss_and_stack/stack-with-enterprise/gears-v1/python/quickstart.md +++ b/content/operate/oss_and_stack/stack-with-enterprise/gears-v1/python/quickstart.md @@ -108,7 +108,7 @@ def compare_and_swap(x): gb = GearsBuilder() gb.map(age) # Extract the 'age' field from each hash gb.foreach(compare_and_swap) # Compare the max age to the value stored at age:maximum -gb.register('person:*') # Only process keys matching the pattern 'person:*' +gb.register(prefix='person:*') # Only process keys matching the pattern 'person:*' ``` You can see here that we define two methods: `age()` and `compare_and_swap()`. Even if you're not familiar with Python, you should be able to see what the methods do.