Skip to content

Commit fdee800

Browse files
author
Luke Sneeringer
committed
Address @theacodes feedback.
1 parent 3a3b4e5 commit fdee800

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

api_core/google/api_core/gapic_v1/dispatch.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@
1616

1717

1818
def dispatch(func):
19+
"""Return a decorated method that dispatches on the second argument.
20+
21+
This is the equivalent of :meth:`functools.singledispatch`, but for
22+
bound methods.
23+
"""
1924
base_dispatcher = functools.singledispatch(func)
2025

2126
# Define a wrapper function that works off args[1] instead of args[0].

api_core/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222

2323
name = 'google-api-core'
2424
description = 'Google API client core library'
25-
version = '1.6.0a1'
25+
version = '1.5.0'
2626
# Should be one of:
2727
# 'Development Status :: 3 - Alpha'
2828
# 'Development Status :: 4 - Beta'

0 commit comments

Comments
 (0)