Skip to content

Commit

Permalink
Fix return values for deprecated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Apr 20, 2020
1 parent 4a0d236 commit ae246b6
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 4 deletions.
8 changes: 8 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
Changelog
=========

0.1.1 (2020-03-20)
------------------

Fixed
~~~~~

- The deprecated methods ``output_notebook`` and ``get_results`` return values again.

0.1.0 (2020-03-20)
------------------

Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
author = 'Open Contracting Partnership'

# The short X.Y version
version = '0.1.0'
version = '0.1.1'
# The full version, including alpha/beta/rc tags
release = version

Expand Down
4 changes: 2 additions & 2 deletions ocdskingfishercolab/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,10 +261,10 @@ def downloadReleases(*args, **kwargs):
def output_notebook(*args, **kwargs):
warnings.warn('output_notebook() is deprecated. Use get_dataframe_from_query() instead.',
DeprecationWarning, stacklevel=2)
get_dataframe_from_query(*args, **kwargs)
return get_dataframe_from_query(*args, **kwargs)


def getResults(*args, **kwargs):
warnings.warn('getResults() is deprecated. Use get_dataframe_from_cursor() instead.',
DeprecationWarning, stacklevel=2)
get_dataframe_from_cursor(*args, **kwargs)
return get_dataframe_from_cursor(*args, **kwargs)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name='ocdskingfishercolab',
version='0.1.0',
version='0.1.1',
author='Open Contracting Partnership',
author_email='data@open-contracting.org',
url='https://github.com/open-contracting/kingfisher-colab',
Expand Down

0 comments on commit ae246b6

Please sign in to comment.