Skip to content
Snippets Groups Projects
Commit 65f47b02 authored by Holger Nahrstaedt's avatar Holger Nahrstaedt
Browse files

Bug fix release 0.19.12

parent 20a5f2cd
No related branches found
No related tags found
No related merge requests found
...@@ -122,6 +122,10 @@ Documentation is available at http://beem.readthedocs.io/en/latest/ ...@@ -122,6 +122,10 @@ Documentation is available at http://beem.readthedocs.io/en/latest/
Changelog Changelog
========= =========
0.19.12
-------
* bug fix release for condenser_api
0.19.11 0.19.11
------- -------
* beem is appbase ready * beem is appbase ready
......
"""THIS FILE IS GENERATED FROM beem SETUP.PY.""" """THIS FILE IS GENERATED FROM beem SETUP.PY."""
version = '0.19.11' version = '0.19.12'
"""THIS FILE IS GENERATED FROM beem SETUP.PY.""" """THIS FILE IS GENERATED FROM beem SETUP.PY."""
version = '0.19.11' version = '0.19.12'
"""THIS FILE IS GENERATED FROM beem SETUP.PY.""" """THIS FILE IS GENERATED FROM beem SETUP.PY."""
version = '0.19.11' version = '0.19.12'
...@@ -229,6 +229,11 @@ class GrapheneRPC(object): ...@@ -229,6 +229,11 @@ class GrapheneRPC(object):
"params": [api_name, name, list(args)], "params": [api_name, name, list(args)],
"jsonrpc": "2.0", "jsonrpc": "2.0",
"id": self.get_request_id()} "id": self.get_request_id()}
elif api_name == "condenser_api":
query = {"method": api_name + "." + name,
"jsonrpc": "2.0",
"params": [],
"id": self.get_request_id()}
else: else:
query = {"method": api_name + "." + name, query = {"method": api_name + "." + name,
"jsonrpc": "2.0", "jsonrpc": "2.0",
...@@ -241,7 +246,7 @@ class GrapheneRPC(object): ...@@ -241,7 +246,7 @@ class GrapheneRPC(object):
# Sepcify the api to talk to # Sepcify the api to talk to
if "api_id" not in kwargs: if "api_id" not in kwargs:
if ("api" in kwargs): if ("api" in kwargs):
api_name = kwargs["api"] + "_api" api_name = kwargs["api"].replace("_api", "") + "_api"
else: else:
api_id = 0 api_id = 0
api_name = None api_name = None
...@@ -253,7 +258,7 @@ class GrapheneRPC(object): ...@@ -253,7 +258,7 @@ class GrapheneRPC(object):
if "api_id" not in kwargs: if "api_id" not in kwargs:
if ("api" in kwargs): if ("api" in kwargs):
if kwargs["api"] != "jsonrpc": if kwargs["api"] != "jsonrpc":
api_name = kwargs["api"] + "_api" api_name = kwargs["api"].replace("_api", "") + "_api"
else: else:
api_name = kwargs["api"] api_name = kwargs["api"]
else: else:
......
"""THIS FILE IS GENERATED FROM beem SETUP.PY.""" """THIS FILE IS GENERATED FROM beem SETUP.PY."""
version = '0.19.11' version = '0.19.12'
"""THIS FILE IS GENERATED FROM beem SETUP.PY.""" """THIS FILE IS GENERATED FROM beem SETUP.PY."""
version = '0.19.11' version = '0.19.12'
...@@ -16,8 +16,8 @@ from beem.utils import parse_time, formatTimedelta ...@@ -16,8 +16,8 @@ from beem.utils import parse_time, formatTimedelta
if __name__ == "__main__": if __name__ == "__main__":
# stm = Steem(node="https://api.steemit.com") # stm = Steem(node="https://api.steemit.com")
# stm = Steem(node="https://api.steemitstage.com", appbase=True) # stm = Steem(node="https://api.steemitstage.com")
# stm = Steem(node="wss://appbasetest.timcliff.com", appbase=False) # stm = Steem(node="wss://appbasetest.timcliff.com")
stm = Steem() stm = Steem()
blockchain = Blockchain(steem_instance=stm) blockchain = Blockchain(steem_instance=stm)
last_block_id = 19273700 last_block_id = 19273700
......
...@@ -16,7 +16,7 @@ except LookupError: ...@@ -16,7 +16,7 @@ except LookupError:
ascii = codecs.lookup('ascii') ascii = codecs.lookup('ascii')
codecs.register(lambda name, enc=ascii: {True: enc}.get(name == 'mbcs')) codecs.register(lambda name, enc=ascii: {True: enc}.get(name == 'mbcs'))
VERSION = '0.19.11' VERSION = '0.19.12'
tests_require = ['mock >= 2.0.0', 'pytest', 'pytest-mock'] tests_require = ['mock >= 2.0.0', 'pytest', 'pytest-mock']
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment