mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-07-05 12:53:30 +03:00
Update docs
This commit is contained in:
parent
fe09b82f06
commit
ebe29d9836
|
@ -54,8 +54,8 @@ Dependency Injector --- Dependency injection framework for Python
|
|||
:target: https://travis-ci.org/ets-labs/python-dependency-injector
|
||||
:alt: Build Status
|
||||
|
||||
.. image:: http://readthedocs.org/projects/python-dependency-injector/badge/?version=latest
|
||||
:target: http://python-dependency-injector.ets-labs.org/
|
||||
.. image:: https://readthedocs.org/projects/python-dependency-injector/badge/?version=latest
|
||||
:target: https://python-dependency-injector.ets-labs.org/
|
||||
:alt: Docs Status
|
||||
|
||||
.. image:: https://coveralls.io/repos/github/ets-labs/python-dependency-injector/badge.svg?branch=master
|
||||
|
|
|
@ -1191,4 +1191,4 @@ Previous versions
|
|||
.. disqus::
|
||||
|
||||
|
||||
.. _Semantic versioning: http://semver.org/
|
||||
.. _Semantic versioning: https://semver.org/
|
||||
|
|
|
@ -304,7 +304,7 @@ and put next into it:
|
|||
|
||||
class GiphyClient:
|
||||
|
||||
API_URL = 'http://api.giphy.com/v1'
|
||||
API_URL = 'https://api.giphy.com/v1'
|
||||
|
||||
def __init__(self, api_key, timeout):
|
||||
self._api_key = api_key
|
||||
|
|
|
@ -738,14 +738,14 @@ You should see:
|
|||
|
||||
Our daemon can monitor `http://example.com <http://example.com>`_ availability.
|
||||
|
||||
Let's add a monitor for the `http://httpbin.org <http://httpbin.org>`_.
|
||||
Let's add a monitor for the `https://httpbin.org <https://httpbin.org>`_.
|
||||
|
||||
Httpbin.org monitor
|
||||
-------------------
|
||||
|
||||
Adding of a monitor for the `httpbin.org`_ will be much easier because we have all the
|
||||
components ready. We just need to create a new provider in the container and update the
|
||||
configuration.
|
||||
Adding of a monitor for the `https://httpbin.org <https://httpbin.org>`_ will be much
|
||||
easier because we have all the components ready. We just need to create a new provider
|
||||
in the container and update the configuration.
|
||||
|
||||
Edit ``containers.py``:
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ How does Movie Lister work?
|
|||
Movie Lister is a naive example from Martin Fowler's article about the dependency injection and
|
||||
inversion of control:
|
||||
|
||||
http://www.martinfowler.com/articles/injection.html
|
||||
https://www.martinfowler.com/articles/injection.html
|
||||
|
||||
Here is a class diagram of the Movie Lister application:
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user