Skip to content

Commit

Permalink
fix doc and exception raise
Browse files Browse the repository at this point in the history
  • Loading branch information
Guillaume De Saint Martin committed Apr 27, 2020
1 parent ceb3c9b commit a9008e0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
11 changes: 5 additions & 6 deletions octobot_evaluators/api/evaluators.py
Original file line number Diff line number Diff line change
Expand Up @@ -160,13 +160,12 @@ async def create_evaluator(evaluator_class,
return None


"""
:param config: evaluator config
:return: initialized matrix id
"""


async def initialize_evaluators(config, tentacles_setup_config) -> str:
"""
:param config: bot config
:param tentacles_setup_config: tentacles configuration
:return: initialized matrix id
"""
create_evaluator_classes(config)
_init_time_frames(config, tentacles_setup_config)

Expand Down
2 changes: 1 addition & 1 deletion octobot_evaluators/evaluator/social_evaluator.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ def _get_tentacle_registration_topic(self, all_symbols_by_crypto_currencies, tim

@abstractmethod
async def _feed_callback(self, *args):
raise NotImplemented("_feed_callback is not implemented")
raise NotImplementedError("_feed_callback is not implemented")

0 comments on commit a9008e0

Please sign in to comment.