Rename tutorial images
|
@ -290,7 +290,7 @@ The dispatcher will control a list of the monitoring tasks. It will execute each
|
||||||
to the configured schedule. The ``Monitor`` class is the base class for all the monitors. You can
|
to the configured schedule. The ``Monitor`` class is the base class for all the monitors. You can
|
||||||
create different monitors by subclassing it and implementing the ``check()`` method.
|
create different monitors by subclassing it and implementing the ``check()`` method.
|
||||||
|
|
||||||
.. image:: asyncio-images/class_1.png
|
.. image:: asyncio-images/classes-01.png
|
||||||
|
|
||||||
Let's create dispatcher and the monitor base classes.
|
Let's create dispatcher and the monitor base classes.
|
||||||
|
|
||||||
|
@ -503,7 +503,7 @@ The ``HttpMonitor`` is a subclass of the ``Monitor``. We will implement the ``ch
|
||||||
will send the HTTP request to the specified URL. The http request sending will be delegated to
|
will send the HTTP request to the specified URL. The http request sending will be delegated to
|
||||||
the ``HttpClient``.
|
the ``HttpClient``.
|
||||||
|
|
||||||
.. image:: asyncio-images/class_2.png
|
.. image:: asyncio-images/classes-02.png
|
||||||
|
|
||||||
First we need to create the ``HttpClient``.
|
First we need to create the ``HttpClient``.
|
||||||
|
|
||||||
|
|
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 30 KiB |
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 36 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
|
@ -50,7 +50,7 @@ inversion of control:
|
||||||
|
|
||||||
Here is a class diagram of the Movie Lister application:
|
Here is a class diagram of the Movie Lister application:
|
||||||
|
|
||||||
.. image:: cli-images/classes_01.png
|
.. image:: cli-images/classes-01.png
|
||||||
|
|
||||||
The responsibilities are split next way:
|
The responsibilities are split next way:
|
||||||
|
|
||||||
|
@ -285,7 +285,7 @@ We will add:
|
||||||
|
|
||||||
After each step we will add the provider to the container.
|
After each step we will add the provider to the container.
|
||||||
|
|
||||||
.. image:: cli-images/classes_02.png
|
.. image:: cli-images/classes-02.png
|
||||||
|
|
||||||
Create the ``entities.py`` in the ``movies`` package:
|
Create the ``entities.py`` in the ``movies`` package:
|
||||||
|
|
||||||
|
|
Before Width: | Height: | Size: 100 KiB After Width: | Height: | Size: 100 KiB |
Before Width: | Height: | Size: 647 KiB After Width: | Height: | Size: 647 KiB |
|
@ -43,7 +43,7 @@ How does Github Navigator work?
|
||||||
- User can click on the repository, the repository owner or the last commit to open its web page
|
- User can click on the repository, the repository owner or the last commit to open its web page
|
||||||
on the Github.
|
on the Github.
|
||||||
|
|
||||||
.. image:: flask-images/screen_02.png
|
.. image:: flask-images/screen-02.png
|
||||||
|
|
||||||
Prepare the environment
|
Prepare the environment
|
||||||
-----------------------
|
-----------------------
|
||||||
|
@ -416,7 +416,7 @@ Make sure the app is running or use ``flask run`` and open ``http://127.0.0.1:50
|
||||||
|
|
||||||
You should see:
|
You should see:
|
||||||
|
|
||||||
.. image:: flask-images/screen_01.png
|
.. image:: flask-images/screen-01.png
|
||||||
|
|
||||||
Connect to the GitHub
|
Connect to the GitHub
|
||||||
---------------------
|
---------------------
|
||||||
|
@ -768,7 +768,7 @@ Make sure the app is running or use ``flask run`` and open ``http://127.0.0.1:50
|
||||||
|
|
||||||
You should see:
|
You should see:
|
||||||
|
|
||||||
.. image:: flask-images/screen_02.png
|
.. image:: flask-images/screen-02.png
|
||||||
|
|
||||||
Make some refactoring
|
Make some refactoring
|
||||||
---------------------
|
---------------------
|
||||||
|
|