# Path: hypebot/core/factory_lib.py
# class Factory(object):
#   def __init__(self, base_class, register_internal_nodes=False):
#   def _Register(self, klass, register_internal_nodes):
#   def Create(self, name: Text, *args, **kwargs):
#   def CreateFromParams(self,
#                        params: params_lib.HypeParams,
#                        *args, **kwargs):
# 
# Path: hypebot/news/news_lib.py
# class NewsLib(with_metaclass(abc.ABCMeta)):
#   DEFAULT_PARAMS = params_lib.HypeParams({})
#   def __init__(self, params, proxy):
#   def source(self) -> Text:
#   def icon(self) -> 'message_pb2.Card.Image':
#   def GetHeadlines(self,
#                    query: Text,
#                    max_results: int = 5) -> List[Dict[Text, Any]]:
#   def GetTrending(self, max_results: int = 5) -> List[Dict[Text, Any]]:


from hypebot.core import factory_lib
from hypebot.news import news_lib
import hypebot.news.nytimes_news
# Copyright 2020 The Hypebot Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Factory for building news aggregators."""

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals


# pylint: disable=unused-import
# Importing commands registers them with factory.
# pylint: enable=usused-import



# Path: hypebot/core/factory_lib.py
# class Factory(object):
#   def __init__(self, base_class, register_internal_nodes=False):
#   def _Register(self, klass, register_internal_nodes):
#   def Create(self, name: Text, *args, **kwargs):
#   def CreateFromParams(self,
#                        params: params_lib.HypeParams,
#                        *args, **kwargs):
# 
# Path: hypebot/news/news_lib.py
# class NewsLib(with_metaclass(abc.ABCMeta)):
#   DEFAULT_PARAMS = params_lib.HypeParams({})
#   def __init__(self, params, proxy):
#   def source(self) -> Text:
#   def icon(self) -> 'message_pb2.Card.Image':
#   def GetHeadlines(self,
#                    query: Text,
#                    max_results: int = 5) -> List[Dict[Text, Any]]:
#   def GetTrending(self, max_results: int = 5) -> List[Dict[Text, Any]]:


# Path: hypebot/news/news_factory.py
from hypebot.core import factory_lib
from hypebot.news import news_lib
import hypebot.news.nytimes_news

# Copyright 2020 The Hypebot Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
"""Factory for building news aggregators."""

from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals


# pylint: disable=unused-import
# Importing commands registers them with factory.
# pylint: enable=usused-import



_factory = factory_lib.Factory(news_lib.NewsLib)