Update examples

This commit is contained in:
Roman Mogylatov 2020-10-19 15:52:18 -04:00
parent ebe29d9836
commit d1a9c2dcd2
8 changed files with 8 additions and 8 deletions

View File

@ -2,7 +2,7 @@ Aiohttp + Dependency Injector Example
===================================== =====================================
This is an `Aiohttp <https://docs.aiohttp.org/>`_ + This is an `Aiohttp <https://docs.aiohttp.org/>`_ +
`Dependency Injector <http://python-dependency-injector.ets-labs.org/>`_ example application. `Dependency Injector <https://python-dependency-injector.ets-labs.org/>`_ example application.
The example application is a REST API that searches for funny GIFs on the `Giphy <https://giphy.com/>`_. The example application is a REST API that searches for funny GIFs on the `Giphy <https://giphy.com/>`_.

View File

@ -5,7 +5,7 @@ from aiohttp import ClientSession, ClientTimeout
class GiphyClient: class GiphyClient:
API_URL = 'http://api.giphy.com/v1' API_URL = 'https://api.giphy.com/v1'
def __init__(self, api_key, timeout): def __init__(self, api_key, timeout):
self._api_key = api_key self._api_key = api_key

View File

@ -2,7 +2,7 @@ Asyncio Daemon + Dependency Injector Example
============================================ ============================================
This is an `asyncio <https://docs.python.org/3/library/asyncio.html>`_ + This is an `asyncio <https://docs.python.org/3/library/asyncio.html>`_ +
`Dependency Injector <http://python-dependency-injector.ets-labs.org/>`_ example application. `Dependency Injector <https://python-dependency-injector.ets-labs.org/>`_ example application.
The example application is a daemon that monitors availability of web services. The example application is a daemon that monitors availability of web services.

View File

@ -2,7 +2,7 @@ Django + Dependency Injector Example
==================================== ====================================
This is a `Django <https://www.djangoproject.com/>`_ + This is a `Django <https://www.djangoproject.com/>`_ +
`Dependency Injector <http://python-dependency-injector.ets-labs.org/>`_ example application. `Dependency Injector <https://python-dependency-injector.ets-labs.org/>`_ example application.
The example application helps to search for repositories on the Github. The example application helps to search for repositories on the Github.

View File

@ -2,7 +2,7 @@ Flask + Dependency Injector Example
=================================== ===================================
This is a `Flask <https://flask.palletsprojects.com/>`_ + This is a `Flask <https://flask.palletsprojects.com/>`_ +
`Dependency Injector <http://python-dependency-injector.ets-labs.org/>`_ example application. `Dependency Injector <https://python-dependency-injector.ets-labs.org/>`_ example application.
The example application helps to search for repositories on the Github. The example application helps to search for repositories on the Github.

View File

@ -4,7 +4,7 @@ Movie lister - a naive example of dependency injection in Python
This is a Python implementation of the dependency injection example from Martin Fowler's This is a Python implementation of the dependency injection example from Martin Fowler's
article: article:
http://www.martinfowler.com/articles/injection.html https://www.martinfowler.com/articles/injection.html
Run Run
--- ---

View File

@ -2,7 +2,7 @@ Sanic + Dependency Injector Example
=================================== ===================================
This is a `Sanic <https://sanic.readthedocs.io/en/latest/index.html>`_ + This is a `Sanic <https://sanic.readthedocs.io/en/latest/index.html>`_ +
`Dependency Injector <http://python-dependency-injector.ets-labs.org/>`_ example application. `Dependency Injector <https://python-dependency-injector.ets-labs.org/>`_ example application.
The example application is a REST API that searches for funny GIFs on the `Giphy <https://giphy.com/>`_. The example application is a REST API that searches for funny GIFs on the `Giphy <https://giphy.com/>`_.

View File

@ -5,7 +5,7 @@ from aiohttp import ClientSession, ClientTimeout
class GiphyClient: class GiphyClient:
API_URL = 'http://api.giphy.com/v1' API_URL = 'https://api.giphy.com/v1'
def __init__(self, api_key, timeout): def __init__(self, api_key, timeout):
self._api_key = api_key self._api_key = api_key